bz_kickUser

From BZFlagWiki
Revision as of 01:36, 12 February 2009 by Yassen (Talk | contribs) (Added bz_kickUser)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.