📃Ox Inventory Edits
Here you will find all edits needed to
Last updated
Here you will find all edits needed to
Last updated
Open ox_inventory and find the folder called "data" now open that and find "weapons.lua"
Once you've opened weapons.lua you can see EVERY single weapon in your server, now find "WEAPON_PETROLCAN" and change its weight to 0 instead of 12000
After that you can headover to modules/inventory/server.lua and find the function called updateWeapon
Now find the following elseif statement as shown in the picture below
Now add the following code to the if statement
it should end up looking like this
And that is it, now you have realistic fuel can weight and displaying gallons for every petrolcan