mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 20:52:54 +00:00
chat_command_text_rules 1.0.0
This commit is contained in:
parent
f1d6ce7c20
commit
da52be9cc7
@ -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.
|
||||||
|
7
chat_commands/chat_command_text_rules.gsc
Normal file
7
chat_commands/chat_command_text_rules.gsc
Normal 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"]);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user