TActivePlayer.SetVelocity

From Soldat Community Wiki
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);