Files
community_bridge/modules/VehicleKey/Renewed-Vehiclekeys/client.lua
T

12 lines
424 B
Lua
Raw Normal View History

2025-01-08 06:33:31 -05:00
if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
2025-01-09 03:55:10 -05:00
VehicleKey = {}
2025-01-08 06:33:31 -05:00
2025-01-09 03:55:10 -05:00
VehicleKey.GiveKeys = function(vehicle, plate)
2025-01-08 06:33:31 -05:00
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:addKey(plate)
end
2025-01-09 03:55:10 -05:00
VehicleKey.RemoveKeys = function(vehicle, plate)
2025-01-08 06:33:31 -05:00
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:removeKey(plate)
end