Bz getPlayerVelocity

From BZFlagWiki
Revision as of 00:16, 12 February 2009 by Yassen (Talk | contribs) (Added bz_getPlayerVelocity)

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

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.

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