diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index d35dc478..cedc74f7 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -577,7 +577,8 @@ native cs_set_user_tked(index, tk = 1, subtract = 1); * * @return 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) + * driving at a negative speed (backing), see TRAIN_* constants + * in hlsdk_cons.inc * @error If the client index is not within the range of 1 to * MaxClients, or the client is not connected, an error will be * thrown. diff --git a/plugins/include/hlsdk_const.inc b/plugins/include/hlsdk_const.inc index 4cf20d4b..c463e9b6 100644 --- a/plugins/include/hlsdk_const.inc +++ b/plugins/include/hlsdk_const.inc @@ -613,6 +613,19 @@ * @endsection */ +/** + * Train status values + */ +#define TRAIN_ACTIVE 0x80 +#define TRAIN_NEW 0xc0 + +#define TRAIN_OFF 0x00 +#define TRAIN_NEUTRAL 0x01 +#define TRAIN_SLOW 0x02 +#define TRAIN_MEDIUM 0x03 +#define TRAIN_FAST 0x04 +#define TRAIN_BACK 0x05 + /** * Valve Mod Weapon Constants */