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 getAdmin: Difference between revisions
Jump to navigation
Jump to search
New page: {{apicall | name = bz_getAdmin | description = Returns true if the player specified is an administrator on this server. Returns false otherwise. | param1 = playerID | par... |
Added return value. Updated description to reflect what the function checks for, not what it returns. |
||
| Line 1: | Line 1: | ||
{{apicall | {{apicall | ||
| name = bz_getAdmin | | name = bz_getAdmin | ||
| description = | | returns = true if player is an administrator, false otherwise. | ||
| returntype = bool | |||
| description = Checks to see if the specified player is an administrator. | |||
| param1 = playerID | | param1 = playerID | ||
| param1type = int | | param1type = int | ||
Revision as of 05:55, 19 October 2011
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