casing, RegisterModule adjustments, remove duplicate utilities table

This commit is contained in:
MrNewb committed 2025-01-10 16:36:20 -05:00
1 parent 515d4412b1
commit 733271562d
75 files changed
+1739 -14

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
if GetResourceState('t1ger_keys') ~= 'started' then return end
VehicleKey = {}
VehicleKey.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
local vehicle_display_name = GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))
return exports['t1ger_keys']:GiveTemporaryKeys(plate, vehicle_display_name, 'some_keys')
end
VehicleKey.RemoveKeys = function(vehicle, plate)
end