2025-03-03 01:37:07 -05:00
|
|
|
if GetResourceState('MrNewbVehicleKeys') ~= 'started' or (BridgeClientConfig.VehicleKey ~= "MrNewbVehicleKeys" and BridgeClientConfig.VehicleKey ~= "auto") then return end
|
2025-02-24 18:23:19 -05:00
|
|
|
|
2025-02-06 05:33:26 -05:00
|
|
|
VehicleKey = VehicleKey or {}
|
2025-01-10 16:36:20 -05:00
|
|
|
|
|
|
|
|
VehicleKey.GiveKeys = function(vehicle, plate)
|
2025-03-03 19:09:18 -05:00
|
|
|
if not plate then return false end
|
|
|
|
|
return exports.MrNewbVehicleKeys:GiveKeysByPlate(plate)
|
2025-01-10 16:36:20 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
VehicleKey.RemoveKeys = function(vehicle, plate)
|
2025-03-03 19:09:18 -05:00
|
|
|
if not plate then return false end
|
|
|
|
|
return exports.MrNewbVehicleKeys:RemoveKeysByPlate(plate)
|
2025-01-10 16:36:20 -05:00
|
|
|
end
|