TActivePlayer.SetVelocity

From Soldat Community Wiki
Revision as of 11:45, 12 September 2016 by Mighty (talk | contribs) (Created page with " '''''procedure SetVelocity(VelX, VelY: Single) ''''' VelX: velocity on X axis VelY: velocity on Y axis ==Description== Sets player velocities on X and Y axis ==Example==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
procedure SetVelocity(VelX, VelY: Single) 
 VelX: velocity on X axis
 VelY: velocity on Y axis

Description

Sets player velocities on X and Y axis

Example

// stop the player with ID 1
Players[1].Setvelocity(0,0);