chat_command_dvars 1.0.0

This commit is contained in:
Resxt
2023-02-16 16:34:23 +01:00
parent 994e69632e
commit e120fd102a
2 changed files with 118 additions and 0 deletions

View File

@ -38,6 +38,20 @@ The player affected by the command dies and swaps to the other team.
| `!changeteam me` |
| `!changeteam Resxt` |
## chat_command_dvars.gsc
3 related commands in one file:
- Print server dvar
- Change server dvar
- Change client dvar
| Name | Description | Arguments expected | Example |
|---|---|---|---|
| getdvar | Prints the (server) dvar value in the player's chat | (1) the dvar name | `!getdvar g_speed` |
| setdvar | Changes a dvar on the server | (1) the dvar name (2) the new dvar value | `!setdvar jump_height 500` |
| setclientdvar | Changes a dvar on the targeted player | (1) the name of the player (2) the dvar name (3) the new dvar value | `!setclientdvar Resxt cg_thirdperson 1` |
## chat_command_freeze.gsc
Toggles whether the targeted player can move or not.