This wiki is archived and useful information is being migrated to the main bzflag.org website

bz_kickUser

From BZFlagWiki
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.