mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
add docs for ox_doorlock
This commit is contained in:
1 parent
05d6333992
commit
56d0fe1f80
9 files changed
+176
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Server
|
||||
|
||||
## ox_doorlock:stateChanged
|
||||
|
||||
Triggered when a doors state is updated.
|
||||
|
||||
```lua
|
||||
AddEventHandler('ox_doorlock:stateChanged', function(source, doorId, state, usedItem) end)
|
||||
```
|
||||
|
||||
- source: `number` or `nil`
|
||||
- doorId: `number`
|
||||
- state: `0` or `1`
|
||||
- usedItem: `string` or `false`
|
||||
Reference in new issue
Block a user