mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 14:38:49 +00:00
deploy: 6283ef56d0b3c6cdb029e0b5341c841ae23154f1
This commit is contained in:
1 parent
9d7b368178
commit
f1171f4ee1
89 files changed
+395
-341
No files matched your search
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7653],{3905:function(e,n,t){t.d(n,{Zo:function(){return u},kt:function(){return m}});var r=t(7294);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function s(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=r.createContext({}),l=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},u=function(e){var n=l(e.components);return r.createElement(c.Provider,{value:n},e.children)},d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},p=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=l(t),m=o,f=p["".concat(c,".").concat(m)]||p[m]||d[m]||a;return t?r.createElement(f,i(i({ref:n},u),{},{components:t})):r.createElement(f,i({ref:n},u))}));function m(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,i=new Array(a);i[0]=p;var s={};for(var c in n)hasOwnProperty.call(n,c)&&(s[c]=n[c]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var l=2;l<a;l++)i[l]=t[l];return r.createElement.apply(null,i)}return r.createElement.apply(null,t)}p.displayName="MDXCreateElement"},6469:function(e,n,t){t.r(n),t.d(n,{frontMatter:function(){return s},contentTitle:function(){return c},metadata:function(){return l},assets:function(){return u},toc:function(){return d},default:function(){return m}});var r=t(7462),o=t(3366),a=(t(7294),t(3905)),i=["components"],s={},c="Configuration",l={unversionedId:"ox_inventory/config",id:"ox_inventory/config",title:"Configuration",description:"You can add these settings directly to your 'server.cfg', or add them to a separate file and call it with exec.",source:"@site/docs/ox_inventory/config.md",sourceDirName:"ox_inventory",slug:"/ox_inventory/config",permalink:"/docs/ox_inventory/config",editUrl:"https://github.com/overextended/overextended.github.io/tree/main/docs/ox_inventory/config.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Dependency version",permalink:"/docs/ox_lib/Shared/version"},next:{title:"Inventory",permalink:"/docs/ox_inventory/"}},u={},d=[],p={toc:d};function m(e){var n=e.components,t=(0,o.Z)(e,i);return(0,a.kt)("wrapper",(0,r.Z)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"configuration"},"Configuration"),(0,a.kt)("p",null,"You can add these settings directly to your 'server.cfg', or add them to a separate file and call it with ",(0,a.kt)("inlineCode",{parentName:"p"},"exec"),".",(0,a.kt)("br",{parentName:"p"}),"\n","Convars must be set before starting ox_inventory."),(0,a.kt)("p",null,"The values below are ",(0,a.kt)("em",{parentName:"p"},"defaults")," and should not be explicitly set unless changing the value."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-yml"},'# Activate specific event handlers and functions (supported: ox, esx)\nsetr inventory:framework "esx"\n\n# Load specific language file from data/locales\nsetr inventory:locale "en"\n\n# Number of slots for player inventories\nsetr inventory:slots 50\n\n# Maximum carry capacity for players, in kilograms\nsetr inventory:weight 30000\n\n# Weapons will reload after reaching 0 ammo\nsetr inventory:autoreload false\n\n# Weapons must be aimed before shooting\nsetr aimedfiring false\n\n# Blur the screen while accessing the inventory\nsetr inventory:screenblur true\n\n# Trim whitespace from vehicle plates when checking owned vehicles\nsetr inventory:trimplate true\n\n# Integrated support for qtarget stashes, shops, etc\nsetr inventory:qtarget false\n\n# Default hotkeys to access primary and secondary inventories, and hotbar\nsetr inventory:keys ["F2", "K", "TAB"]\n\n# Enable control action when inventory is open\nsetr inventory:enablekeys [249]\n\n# Jobs with access to police armoury, evidence lockers, etc\nsetr inventory:police ["police", "sheriff"]\n\n# Item prices fluctuate in shops\nset inventory:randomprices true\nLine truncated
|
||||
Reference in new issue
Block a user