Speed
This command sets a new value for a player speed. It is similar to SpeedAdd, only it sets a new value rather than adding a value to the current speed.
The correct syntax is:
wcs.Command(<userid>).Speed(<amount>)
- Userid - The player whos speed you wish to change
- Amount - The new value of the players speed. --- 1.0 = default --- 0.5 = half --- 2.0 = double
Example:
def player_spawn(ev):
wcs.Command(ev['userid']).Speed(1.4)
Comments (0)
You don't have permission to comment on this page.