refactor(vehicleKey): remove obsolete client.lua file for mono_carkeys
This commit is contained in:
1 parent
9e810d4b24
commit
783c15ad9c
1 file changed
-16
@@ -1,16 +0,0 @@
|
||||
---@diagnostic disable: duplicate-set-field
|
||||
local resourceName = "mono_carkeys"
|
||||
if GetResourceState(resourceName) == 'missing' then return end
|
||||
|
||||
VehicleKey = VehicleKey or {}
|
||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||
if not plate then return false end
|
||||
TriggerServerEvent('mono_carkeys:CreateKey', plate)
|
||||
end
|
||||
|
||||
VehicleKey.RemoveKeys = function(vehicle, plate)
|
||||
if not plate then return false end
|
||||
TriggerServerEvent('mono_carkeys:DeleteKey', 1, plate)
|
||||
end
|
||||
|
||||
return VehicleKey
|
||||
Reference in new issue
Block a user