This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz kickUser: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
Added bz_kickUser
 
(No difference)

Latest revision as of 01:36, 12 February 2009

bool bz_kickUser (int playerIndex, const char* reason, bool notify)


Minimum API Version: 2.0.x or later
Kicks an user from the server (same as the /kick command)

Parameters:
playerIndex  -  Player to kick.
reason  -  Reason for the kick.
notify  -  Whether to notify the admin channel and user kicked.
Returns:
Whether the player exists.