How to make a /commands menu
#1

Hello, please help me on how to make a /commands menu...

So like you type in /commands and it comes up with a list of commands


Thanx!
Reply
#2

pawn Код:
SendClientMessage(playerid,COLOR,const message[]);
Reply
#3

Do you mean a list of commands just like text? Or do you want to create a menu that views the commands (and maybe even executes them).

In case of just like text:

Код:
if(strcmp(cmd, "/Commands", true) == 0)
{
  SendClientMessage(playerid, YOUR_COLOR, " This are the commands of your server");
  SendClientMessage(playerid, YOUR_COLOR, " /command 1, /command 2, /command 3");
  SendClientMessage(playerid, YOUR_COLOR, " /command 4, /command 5, /command 6");
}
In case of the menu it is a bit more complicated.
Reply
#4

And What Do I Put This In?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)