mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
update: key item metadata
This commit is contained in:
@@ -137,3 +137,11 @@ lib.callback.register("ND_Vehicles:getVehicleModelMakeLabel", function(model)
|
||||
local name = GetLabelText(GetDisplayNameFromVehicleModel(model))
|
||||
return ("%s %s"):format(make, name)
|
||||
end)
|
||||
|
||||
SetTimeout(1000, function()
|
||||
if GetResourceState("ox_inventory") ~= "started" or not Config.useInventoryForKeys then return end
|
||||
exports.ox_inventory:displayMetadata({
|
||||
vehPlate = "Plate",
|
||||
vehModel = "Model"
|
||||
})
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user