start keys serverside
This commit is contained in:
1 parent
17d68505a6
commit
75216f538e
4 files changed
+23
-6
No files matched your search
@@ -2,7 +2,7 @@ if GetResourceState('MrNewbVehicleKeys') ~= 'started' then return end
|
||||
VehicleKey = VehicleKey or {}
|
||||
|
||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||
if not DoesEntityExist(vehicle) then return false end
|
||||
if not DoesEntityExist(vehicle) and not plate then return false end
|
||||
return exports.MrNewbVehicleKeys:GiveKeys(vehicle)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user