Called when a clients movement buttons are being processed (Read Only)
void OnPlayerRunCmdPre(int client, int buttons, int impulse, const float vel, const float angles, int weapon, int subtype, int cmdnum, int tickcount, int seed, const int mouse)
Index of the client.
Current commands (as bitflags - see entity_prop_stocks.inc).
Current impulse command.
Players desired velocity.
Players desired view angles.
Entity index of the new weapon if player switches weapon, 0 otherwise.
Weapon subtype when selected from a menu.
Command number. Increments from the first command sent.
Tick count. A client's prediction based on the server's GetGameTickCount value.
Random seed. Used to determine weapon recoil, spread, and other predicted elements.
Mouse direction (x, y).