Push
This command pushes a user with an x, y and z force... The harder the force, the faster and further the user will be pushed... If the user is pushed too hard and hits a wall, he will die.
The correct syntax is:
wcs.Command(<userid>).Push(<x force>, <y force>, <z force>)
- Userid - The player being push
- X, Y and Z Force - The forces of how hard you will push the user
Example:
def player_hurt(ev):
wcs.Command(ev['userid']).Push(0,0,200)
# Pushes the user in the air with a force of 200 when he is hurt
Comments (0)
You don't have permission to comment on this page.