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 getPlayerHumanity: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Created page with "BZF_API bool bz_getPlayerHumanity( int playerId ) {{apicall | name = bz_getPlayerHumanity | description = Returns true if the player has reported that they are human ..."
 
No edit summary
 
Line 1: Line 1:
BZF_API bool bz_getPlayerHumanity( int playerId )
{{apicall
{{apicall
| name          = bz_getPlayerHumanity
| name          = bz_getPlayerHumanity
Line 6: Line 4:
| param1        = playerID
| param1        = playerID
| param1type    = int
| param1type    = int
| param1desc    = The id of the player to grant the permission to
| param1desc    = The id of the player to query
| returntype    = bool
| returns      = True if Human, False if not.
}}
}}

Latest revision as of 21:59, 1 December 2011

bool bz_getPlayerHumanity (int playerID)


Returns true if the player has reported that they are human and not a robot.

Parameters:
playerID  -  The id of the player to query
Returns:
True if Human, False if not.