Files
community_bridge/modules/vehicleKey/okokGarage/client/client.lua
T

15 lines
360 B
Lua

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