Cstrike: cs_get_user_driving - Add the associated constants from HLSDK
This commit is contained in:
parent
86e33d0cb1
commit
dcc2d91b14
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user