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

bz_getAdmin

From BZFlagWiki
Revision as of 05:55, 19 October 2011 by Sigonasr2 (Talk | contribs) (Added return value. Updated description to reflect what the function checks for, not what it returns.)

Jump to: navigation, search

bool bz_getAdmin (int playerID)


Checks to see if the specified player is an administrator.

Parameters:
playerID  -  The id of the player to check for admin status
Returns:
True if the player specified is an administrator; false otherwise