Main/resources/[carscripts]/community_bridge/modules/vehicleKey/okokGarage/client/client.lua
2025-08-06 16:37:06 +02:00

16 lines
No EOL
404 B
Lua

---@diagnostic disable: duplicate-set-field
local resourceName = "okokGarage"
if GetResourceState(resourceName) == 'missing' then return end
VehicleKey = VehicleKey or {}
VehicleKey.GiveKeys = function(vehicle, plate)
if not plate then return false end
TriggerServerEvent('okokGarage:GiveKeys', plate)
end
VehicleKey.RemoveKeys = function(vehicle, plate)
return true
end
return VehicleKey