[vRP] Trunk/chest size not working when editing the file

I added an custom vehicle (a heli) and I’m talking about the swift. Did I do something wrong?

local cfg = {}

cfg.inventory_weight_per_strength = 10 -- weight for an user inventory per strength level (no unit, but thinking in "kg" is a good norm)

-- default chest weight for vehicle trunks
cfg.default_vehicle_chest_weight = 50

-- define vehicle chest weight by model in lower case
cfg.vehicle_chest_weights = {
  ["monster"] = 250,
  ["swift"] = 210
}

return cfg
1 Like

Make sure the vehicle you’re trying to add is in the garages.lua file as ownable car preferably by civilians,also, make sure the vehicle is written with minimal letters. The swift vehicle may not be available to be spawned from a garage or something and that might not allow it to change its size because then it cannot detect that that user has acces to its trunk. It did the trick for me,and also do not forget about commas :slight_smile: