angle_speed.inc
Original include source with line numbers.
| 1 | #if defined _angle_speed_included |
| 2 | #endinput |
| 3 | #endif |
| 4 | |
| 5 | #define _angle_speed_included |
| 6 | |
| 7 | /** |
| 8 | * Returns the number of elements in the array. |
| 9 | * |
| 10 | * @param ent Ent id which we check angle speed |
| 11 | * @param fAngleSpeed Array |
| 12 | * @return 0 if failed, 1 if success |
| 13 | */ |
| 14 | native angle_get_speed(ent, Float:fAngleSpeed[3]) |
| 15 | |
| 16 | /** |
| 17 | * Returns the number of elements in the array. |
| 18 | * |
| 19 | * @param ent Id of entity which we want to set angle speed. |
| 20 | * @param fAngleSpeed Array in which we put angle speed (Pitch, Yaw, Roll). |
| 21 | * @return 0 - invalid entity, 1 - succesfully set angle speed |
| 22 | */ |
| 23 | native angle_set_speed(ent, Float:fAngleSpeed[3]); |