Last updated 2 months ago
You will need the latest version of es_extended.
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Add this to ox_inventory/data/itemslua
["zat-rentalpaper"] = { label = "zat-rentalpaper", weight = 1, stack = true, close = true, },
Add this to ox_inventory\modules\items\client.lua:
Item('zat-rentalpaper', function(data, slot) TriggerEvent("zat-carrental:client:UseRentalPaper", slot.metadata) end)
Make sure you have the dependencies listed above installed.
Ensure zat-carrental on the server.cfg.