GetPersonSpeedX
From Spheriki
Gets the person's current horizontal speed value.
Contents |
[edit]
Usage
Number GetPersonSpeedX(person);
- person The person to check the value on.
[edit]
Examples
SetPersonSpeedXY("Pete", 2, 1);
//...
Abort(GetPersonSpeedX("Pete"));
Will return 2, because the X speed was set to 2.
Abort(GetPersonSpeedX("Someone"));
Will return 1, because that is every person's default x and y speed.
[edit]
Notes
- A person's default x and y speed value is 1.
[edit]

