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

bz_getPlayerPhysicsDriver

From BZFlagWiki
Revision as of 00:10, 12 February 2009 by Yassen (Talk | contribs) (bz_eTeamType -> bool)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

bool bz_getPlayerPhysicsDriver (int playerID, int *phydrv)


Minimum API Version: 2.99.x or later
Fill the integer "phydrv" with the physics driver (index) the player is currently on.

Parameters:
playerID  -  Player to lookup.
*phydrv  -  Physics driver index.
Returns:
Whether the player exists.