ox_inventory

functions

ox_inventory enables many performance saving possibilities.

Among other things, the framework makes it possible to assign meta data to items, which in turn makes functions directly addressable. On the server this is used in the following functions:

  • Serial numbers for weapons, which can also be divided into PD and crafted weapons:

origin
serialnumber

crafted weapon

123WAF456789

pd shop weapon

123PD456789

[location of generation]

[int] [str] [int]

  • inventory extansion using a bag

    • bag as usable item, which has an initial weight and can extand the players inventory using the bag as a stash

    • dropping the bag, causes dropping the stash

    • configurable in: max. weight, weight of item, prop while using and drop

  • gps_tracker

    • resource-saving option for the use of a gps tracker, which is included to the inventory base system

  • safe deposit box

    • own safe deposit box in the bank branch, with adjustable size and individual definition of items that can be stored there

  • storage_system

    • possibility to buy warehouses where storage boxes can be crafted

    • access to the warehouse can be managed by its owner

    • there are several variations of warehouses that can be configured individually

    • the warehouses are already included in the GTA map and there is no need to load external maps.

sh_storage
Large Warehouse with crafted boxes
  • weapons as items

    • fully configurable weapon system

Weapon
Component
Ammo

weapon_pistol

COMPONENT_PISTOL_VARMOD_LUXE
COMPONENT_AT_PI_SUPP_02
COMPONENT_AT_PI_FLSHCOMPONENT_PISTOL_CLIP_02
COMPONENT_PISTOL_CLIP_01

ammo_9mm

weapon_machinepistol

COMPONENT_MACHINEPISTOL_CLIP_01
COMPONENT_MACHINEPISTOL_CLIP_02
COMPONENT_MACHINEPISTOL_CLIP_03
COMPONENT_AT_PI_SUPP

ammo_9mm

weapon_pistol50

COMPONENT_PISTOL50_CLIP_01
COMPONENT_PISTOL50_CLIP_02
COMPONENT_AT_PI_FLSH
COMPONENT_AT_AR_SUPP_02
COMPONENT_PISTOL50_VARMOD_LUXE

ammo_50mm

Prop interaction

  • configurable prop interaction, e.g.:

    • beverage dispenser: water

    • snack machine: burger; hotdog; pizza etc.

    • cigarette machine: pack of cigarettes

    -> highly costumizable

Last updated