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_getPlayerPhysicsDriver

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