alexnita3 / GalaxyRP

GNU General Public License v2.0
5 stars 3 forks source link

Make command usage messages clearer. #98

Open alexnita3 opened 2 years ago

alexnita3 commented 2 years ago

The message to be displayed whenever a command was run with improper arguments should be changed to look like: "^1Command Usage: insert description \n ^3Example Usage: insert example usage"

This should happen for all commands where a message of the kind already exists.

alexnita3 commented 2 years ago

For example: This https://github.com/alexnita3/GalaxyRP/blob/develop/codemp/game/g_cmds.c#L16318 Should be replaced with something like: trap->SendServerCommand(ent - g_entities, "print \"^1Command Usage: /givexp <player name/ID>\n^3Example: /givexp Alex\n\"");

alexnita3 commented 2 years ago

List of all commands can be found here: https://github.com/alexnita3/GalaxyRP/blob/develop/codemp/game/g_cmds.c#L19973