fix(client/vehicles): check for started inventory

This commit is contained in:
Andyyy7666
2023-08-25 04:24:29 +02:00
parent 5ec7a9ac83
commit 97e175d4fd

View File

@@ -353,7 +353,7 @@ end)
Config.ox_inventory = NDCore.isResourceStarted("ox_inventory", function(started)
Config.ox_inventory = started
if not Config.useInventoryForKeys then return end
if not started or not Config.useInventoryForKeys then return end
Wait(1000)
exports.ox_inventory:displayMetadata({
vehPlate = "Plate",