Files
community_bridge/modules/vehicleKey/Renewed-Vehiclekeys/client.lua
T
MrNewb 8f6fa1e291 Return modules folder
-- Was a git prefrences thing and needed cleaned up
2025-01-13 14:28:09 -05:00

12 lines
424 B
Lua

if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
VehicleKey = {}
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