Events
Handlers
These events should not be triggered by any other scripts.
ox_doorlock:stateChanged
Triggered when a doors state is updated.
AddEventHandler('ox_doorlock:stateChanged', function(source, doorId, state, usedItem) end)
- source:
number
ornil
- doorId:
number
- state:
boolean
- usedItem:
string
orfalse
ornil