notes
This commit is contained in:
1 parent
2fb2edff9b
commit
ad80c94833
6 files changed
+18
No files matched your search
@@ -2,6 +2,10 @@ if GetResourceState('qb-doorlock') ~= 'started' then return end
|
||||
|
||||
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)
|
||||
TriggerClientEvent('qb-doorlock:client:setState', -1, 0, doorID, toggle, false, false, false)
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user