Update client.lua

This commit is contained in:
jim gordon authored and GitHub committed 2025-02-07 19:42:31 +00:00
1 parent e0ed4c1d9b
commit 763ec00aa1
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
if GetResourceState('mono_carkeys') ~= 'started' then return end
VehicleKey = {}
VehicleKey = VehicleKey or {}
VehicleKey.GiveKeys = function(vehicle, plate)
if type(plate) ~= 'string' then return end
TriggerServerEvent('mono_carkeys:CreateKey', plate)