version '0.0.7'

This commit is contained in:
MrNewb committed 2025-01-08 06:33:31 -05:00
1 parent 89a9a371bd
commit 47977ce701
105 files changed
+5036 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
if GetResourceState('MrNewbVehicleKeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports.MrNewbVehicleKeys:GiveKeys(vehicle)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
if not vehicle and not plate then return false end
if not DoesEntityExist(vehicle) then
return exports.MrNewbVehicleKeys:RemoveKeysByPlate(plate)
end
return exports.MrNewbVehicleKeys:RemoveKeys(vehicle)
end