OnPlayerBan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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…')
 
mNo edit summary
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


{{See also/Server event|Server events}}
{{See also/Server event|Player events}}
{{Needs_Example}}
[[Category:Needs_Example]]

Revision as of 09:32, 6 February 2010

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

Player events


Event functions