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

From BZFlagWiki
Jump to navigation Jump to 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.