should resolve start order issues

This commit is contained in:
MrNewb committed 2025-05-18 23:45:37 -04:00
1 parent f0feadf268
commit 68e81b720a
86 files changed
+113 -146

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Doorlock = Doorlock or {}
---This will get the closest door to the ped
---@return string | nil
Doorlock.GetClosestDoor = function()
return nil
end
return Doorlock
+13
View File
@@ -0,0 +1,13 @@
---@diagnostic disable: duplicate-set-field
Doorlock = Doorlock or {}
---This will toggle the lock status of the door.
---@param doorID string
---@param toggle boolean
---@return boolean
Doorlock.ToggleDoorLock = function(doorID, toggle)
return true
end
return Doorlock
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('doors_creator') ~= 'started' then return end
if GetResourceState('doors_creator') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('doors_creator') ~= 'started' then return end
if GetResourceState('doors_creator') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('ox_doorlock') ~= 'started' then return end
if GetResourceState('ox_doorlock') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('ox_doorlock') ~= 'started' then return end
if GetResourceState('ox_doorlock') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('qb-doorlock') ~= 'started' then return end
if GetResourceState('qb-doorlock') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('qb-doorlock') ~= 'started' then return end
if GetResourceState('qb-doorlock') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('rcore_doorlock') ~= 'started' then return end
if GetResourceState('rcore_doorlock') == 'missing' then return end
Doorlock = Doorlock or {}
+1 -1
View File
@@ -1,5 +1,5 @@
---@diagnostic disable: duplicate-set-field
if GetResourceState('rcore_doorlock') ~= 'started' then return end
if GetResourceState('rcore_doorlock') == 'missing' then return end
Doorlock = Doorlock or {}