version '0.0.7'

This commit is contained in:
MrNewb committed 2025-01-08 06:33:31 -05:00
1 parent 89a9a371bd
commit 47977ce701
105 files changed
+5036 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
if GetResourceState('MrNewbVehicleKeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports.MrNewbVehicleKeys:GiveKeys(vehicle)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
if not vehicle and not plate then return false end
if not DoesEntityExist(vehicle) then
return exports.MrNewbVehicleKeys:RemoveKeysByPlate(plate)
end
return exports.MrNewbVehicleKeys:RemoveKeys(vehicle)
end
@@ -0,0 +1,12 @@
if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:addKey(plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:removeKey(plate)
end
+10
View File
@@ -0,0 +1,10 @@
if GetResourceState('cd_garage') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
TriggerEvent('cd_garage:AddKeys', plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+12
View File
@@ -0,0 +1,12 @@
if GetResourceState('mk_vehiclekeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports["mk_vehiclekeys"]:AddKey(vehicle)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
return exports["mk_vehiclekeys"]:RemoveKey(vehicle)
end
+10
View File
@@ -0,0 +1,10 @@
if GetResourceState('okokGarage') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
TriggerServerEvent('okokGarage:GiveKeys', plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+11
View File
@@ -0,0 +1,11 @@
if GetResourceState('qb-vehiclekeys') ~= 'started' then return end
if GetResourceState('qbx_vehiclekeys') == 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+10
View File
@@ -0,0 +1,10 @@
if GetResourceState('qbx_vehiclekeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+12
View File
@@ -0,0 +1,12 @@
if GetResourceState('qs-vehiclekeys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
local model = GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))
local verifiedPlate = GetVehicleNumberPlateText(vehicle)
exports['qs-vehiclekeys']:GiveKeys(verifiedPlate, model, true)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+12
View File
@@ -0,0 +1,12 @@
if GetResourceState('t1ger_keys') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.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
VehicleKeys.RemoveKeys = function(vehicle, plate)
end
+10
View File
@@ -0,0 +1,10 @@
if GetResourceState('wasabi_carlock') ~= 'started' then return end
VehicleKeys = {}
VehicleKeys.GiveKeys = function(vehicle, plate)
exports.wasabi_carlock:GiveKey(plate)
end
VehicleKeys.RemoveKeys = function(vehicle, plate)
exports.wasabi_carlock:RemoveKey(plate)
end