vehiclekeys to auto or manual
This commit is contained in:
1 parent
b0f1704806
commit
6bcd894fdb
12 files changed
+27
-39
No files matched your search
@@ -2,11 +2,11 @@ if GetResourceState('mono_carkeys') ~= 'started' or (BridgeClientConfig.VehicleK
|
||||
|
||||
VehicleKey = VehicleKey or {}
|
||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||
if type(plate) ~= 'string' then return end
|
||||
if not plate then return false end
|
||||
TriggerServerEvent('mono_carkeys:CreateKey', plate)
|
||||
end
|
||||
|
||||
VehicleKey.RemoveKeys = function(vehicle, plate)
|
||||
if type(plate) ~= 'string' then return end
|
||||
if not plate then return false end
|
||||
TriggerServerEvent('mono_carkeys:DeleteKey', 1, plate)
|
||||
end
|
||||
Reference in new issue
Block a user