diff --git a/chat_commands/README.md b/chat_commands/README.md index 8375c4b..cdbffc0 100644 --- a/chat_commands/README.md +++ b/chat_commands/README.md @@ -132,6 +132,18 @@ Teleports a player to the position of another player. |---| | 2 | +## chat_command_text_help.gsc + +Prints how to use the `commands` and the `help command` commands in the player's chat. + +| Example | +|---| +| `!help` | + +| Permission level | +|---| +| 1 | + ## chat_command_unfair_aimbot.gsc Toggles unfair aimbot on the targeted player. diff --git a/chat_commands/chat_command_text_help.gsc b/chat_commands/chat_command_text_help.gsc new file mode 100644 index 0000000..29f7b5b --- /dev/null +++ b/chat_commands/chat_command_text_help.gsc @@ -0,0 +1,6 @@ +#include scripts\chat_commands; + +Init() +{ + CreateCommand(level.chat_commands["ports"], "help", "text", array("Type " + GetDvar("cc_prefix") + "commands to get a list of commands", "Type " + GetDvar("cc_prefix") + "help followed by a command name to see how to use it"), 1); +} \ No newline at end of file