5 Commits

Author SHA1 Message Date
Resxt
061a6bf516
chat_commands 1.1.1
Fix missing port for example
2022-10-15 15:57:03 +02:00
Resxt
0cd38e9785 chat_commands 1.1.1
Added help command to display the help message for a particular command.
An optional commandHelp argument has been added to the CreateCommand function.
A help command with no arguments can still be created. The script will understand the context and display the right info

Made examples in InitCommands() clearer by separating them and adding comments

Added comments to separate each command section: commands, help and other commands
2022-10-15 15:42:45 +02:00
Resxt
e235b76ebe chat_commands 1.1
Allow configuration of the commands prefix

Added a function to easily create commands

Added the ability to pass an array of server ports instead of just one port per command

Added the ability to add a command to all servers using level.commands_servers_ports

Fixed the warning when running a function command by explicitly defining whether a command is of type text or function

Fixed commands not working when using the say command through the console instead of the chat. Now both works
2022-10-15 14:31:59 +02:00
Resxt
7997a0446e Update chat_commands.gsc 2022-09-22 17:13:23 +02:00
Resxt
6d8f87c45d Create chat_commands 2022-09-22 17:08:11 +02:00