Files
community_bridge/modules/keys/Renewed-Vehiclekeys/client.lua
T
2025-01-08 06:33:31 -05:00

12 lines
427 B
Lua

if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:addKey(plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:removeKey(plate)
end