X3D Vehicle Storage config
Change values in the form, then copy one topic or the whole file into your server.
Download with my settingsGeneral
Docs โConfig.Debugdebug prints and draw the trunk-reach circle
Config.Localelanguage of this script: 'th' | 'en'
Config.OwnedVehiclesTableplayers' vehicles table in the DB (stock ESX: owned_vehicles)
Config.OpenTrunkKeykey that opens the trunk (players can rebind it)
Config.TrunkInteractionDistancereach (meters) from the trunk
Config.VehicleSearchDistancesearch radius for a nearby car (meters)
Config.CheckIntervalhow often to look for a nearby car (ms)
Config.EnableGloveboxAlso open the same storage from the front of the car (not a separate compartment โ same contents as the trunk)
Config.GloveboxInteractionDistancereach (meters) from the front
Trunk capacity (kg) by GTA vehicle class (0 = no storage)
Docs โConfig.VehicleWeightByClassTrunk capacity (kg) by GTA vehicle class (0 = no storage)
0 Compacts ยท 1 Sedans ยท 2 SUVs ยท 3 Coupes ยท 4 Muscle ยท 5 Sports Classics ยท 6 Sports ยท 7 Super ยท 8 Motorcycles
9 Off-road ยท 10 Industrial ยท 11 Utility ยท 12 Vans ยท 13 Cycles ยท 14 Boats ยท 15 Helicopters ยท 16 Planes
17 Service ยท 18 Emergency ยท 19 Military ยท 20 Commercial ยท 21 Trains
[0]Compacts (50kg)
[1]Sedans (75kg)
[2]SUVs (100kg)
[3]Coupes (60kg)
[4]Muscle (80kg)
[5]Sports Classics (70kg)
[6]Sports (65kg)
[7]Super (60kg)
[8]Motorcycles (25kg)
[9]Off-road (120kg)
[10]Industrial (200kg)
[11]Utility (150kg)
[12]Vans (180kg)
[13]Cycles (10kg)
[14]Boats (150kg)
[15]Helicopters (100kg)
[16]Planes (150kg)
[17]Service (120kg)
[18]Emergency (100kg)
[19]Military (200kg)
[20]Commercial (250kg)
[21]Trains (0kg - no storage)
capacity when the class is unknown (kg) and 5 more
Docs โConfig.DefaultTrunkWeightcapacity when the class is unknown (kg)
Config.VehicleWeightByModelPer-model capacity (lowercase model name), beats the class table โ 0 = no trunk
bmxcruiserfaggiobatistretchguardianConfig.CheckOwnershiponly the owner (or key/shared access via hooks) can open
Config.AllowJobVehiclesjob vehicles: anyone with a listed job can open them
Config.JobVehicleAccessConfig.AdminGroupsadmin groups: /trunkadmin <plate> and open any car
Items/weapons that can never go in a car (items with can_remove = 0 are blocked anyway)
Docs โConfig.ItemBlacklistItems/weapons that can never go in a car (items with can_remove = 0 are blocked anyway)
Delete storage of plates gone from the vehicles table after this many days (grace for rentals) and 2 more
Docs โConfig.OrphanSweepDaysDelete storage of plates gone from the vehicles table after this many days (grace for rentals)
Config.CheckLockStatuslocked car = no access, except listed jobs
Config.LockBypassJobsmodels without storage (hash)
Docs โConfig.BlacklistedVehiclesmodels without storage (hash)
classes without storage and 1 more
Docs โConfig.BlacklistedClassesclasses without storage
[13]Cycles
[21]Trains
Config.MarkerColorcolour of the debug reach circle