user_cmd_t
Fields
Field | Description |
---|---|
| [read-only] |
| [read-only] the tick this client was created |
| |
| |
| movement direction (x = forwardmove, y = sidemove, z = upmove) |
| |
| entity index of weapon to switch to |
| |
| |
| |
| |
| [read-only] |
| |
|
Functions
has_button
checks if a cmd button is pressed
Fields | Description |
---|---|
|
Example
add_button
add a cmd button
Fields | Description |
---|---|
|
Example
remove_button
removes a cmd button
Fields | Description |
---|---|
|
Example
clear_buttons
removes all cmd buttons
Example
Last updated