cs_get_user_driving
- Синтаксис
-
native cs_get_user_driving(index);
Переменная | Описание |
---|---|
index |
Client index |
- Описание
- Returns if the client is currently driving a vehicle and if so, indicates the speed.
- Возвращает
- 0 if the client is not driving, 1 if driving a vehicle but not moving, 2 to 4 if driving positive speeds, 5 if driving at a negative speed (backing), see TRAIN_* constants in hlsdk_const.inc