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: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m returnType -> returntype  | 
				m bz_eTeamType -> bool  | 
				||
| Line 8: | Line 8: | ||
| param2type  = int  | | param2type  = int  | ||
| param2desc  = Physics driver index.  | | param2desc  = Physics driver index.  | ||
| returntype  =   | | returntype  = bool  | ||
| returns     = Whether the player exists.  | | returns     = Whether the player exists.  | ||
| version     = 2.99.x or later  | | version     = 2.99.x or later  | ||
}}  | }}  | ||
Latest revision as of 00:10, 12 February 2009
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.