fix capitol pt 1
This commit is contained in:
1 parent
0f6578bcd7
commit
48f5c70039
158 files changed
-5977
No files matched your search
@@ -1,13 +0,0 @@
|
||||
if GetResourceState('ox_doorlock') ~= 'started' then return end
|
||||
|
||||
Doorlock = Doorlock or {}
|
||||
|
||||
Doorlock.ToggleDoorLock = function(doorID, toggle)
|
||||
local state = toggle
|
||||
if state then
|
||||
exports.ox_doorlock:setDoorState(doorID, 1)
|
||||
else
|
||||
exports.ox_doorlock:setDoorState(doorID, 0)
|
||||
end
|
||||
return true
|
||||
end
|
||||
Reference in new issue
Block a user