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
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.