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