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

12 lines
438 B
Lua
Raw Normal View History

if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
2025-02-06 05:33:26 -05:00
VehicleKey = VehicleKey or {}
VehicleKey.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:addKey(plate)
end
VehicleKey.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:removeKey(plate)
end