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

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
m Added bz_getPlayerVelocity
(No difference)

Revision as of 00:16, 12 February 2009

bool bz_getPlayerPhysicsDriver (int playerID, float vel [3])


Minimum API Version: 2.99.x or later
Fills the float array "vel" with the current velocity of the player.

Parameters:
playerID  -  Player to lookup.
vel [3]  -  Velocity (x, y, z)
Returns:
Whether the player exists.