OnPlayerBan
Jump to navigation
Jump to search
This event is triggered when a player added a ban (like onBan).
Parameters
ban banPointer, player responsibleElement
- banPointer: The ban pointer which was added.
- responsibleElement: The player who added the ban
Source
The source of this event is the element that was responsible for the banning. If no responsible was specified, the source is the global root element.
Example
-- TODO
See Also
Server events
Event functions
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled
Script Example Missing Event OnPlayerBan needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |