OnPlayerBan

From Multi Theft Auto: Wiki
Revision as of 09:30, 6 February 2010 by Sebassje (talk | contribs) (Created page with '__NOTOC__ {{Server event}} This event is triggered when a player added a ban (like onBan). ==Parameters== <syntaxhighlight lang="lua"> ban banPointer, player responsibleElement </syntaxhighlight> *'''b…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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


Accessories-text-editor.png Script Example Missing Event OnPlayerBan needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.