Update client.lua
This commit is contained in:
1 parent
e0ed4c1d9b
commit
763ec00aa1
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
if GetResourceState('mono_carkeys') ~= 'started' then return end
|
if GetResourceState('mono_carkeys') ~= 'started' then return end
|
||||||
|
|
||||||
VehicleKey = {}
|
VehicleKey = VehicleKey or {}
|
||||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||||
if type(plate) ~= 'string' then return end
|
if type(plate) ~= 'string' then return end
|
||||||
TriggerServerEvent('mono_carkeys:CreateKey', plate)
|
TriggerServerEvent('mono_carkeys:CreateKey', plate)
|
||||||
|
|||||||
Reference in new issue
Block a user