chat_command_text_rules 1.0.0

This commit is contained in:
Resxt 2023-02-16 03:47:54 +01:00
parent f1d6ce7c20
commit da52be9cc7
2 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,12 @@ The player who runs the command dies.
Arguments expected: none. Arguments expected: none.
Example: `!suicide` Example: `!suicide`
## chat_command_text_rules.gsc
Prints the server rules in the player's chat.
Arguments expected: none.
Example: `!rules`
## chat_commands.gsc ## chat_commands.gsc
The core script that holds the configuration, runs all the chat logic and holds utils function that are shared between all the `chat_command` scripts. The core script that holds the configuration, runs all the chat logic and holds utils function that are shared between all the `chat_command` scripts.

View File

@ -0,0 +1,7 @@
#include scripts\chat_commands;
Init()
{
CreateCommand(["27016", "27017"], "rules", "text", ["Do not camp", "Do not spawnkill", "Do not disrespect other players"]);
CreateCommand(["27018"], "rules", "text", ["Leave your spot and don't camp after using a M.O.A.B", "Don't leave while being infected", "Do not disrespect other players"]);
}