Display all commands
#1

Once I saw some snippet that allows to display all commands in gamemode.

Like /commands and IT'S NOT like SCM(playerid, RED, "/c, /a, /b");

It's like function.

Hope you understood.
Reply
#2

No, I don't. You could provide more details. Anyways, I don't recommend client messages either. A dialog (possible with more than 1 pages - whether as a list or not) would be far better.
Reply
#3

Like:
Код:
array[3]:

command[0]:
{
    /kill
}

command[1]:
{
    /heal
}

command[2]:
{
    /help
}

printf(array);
Man, can't explain better, cuz i didn't used that, just saw it.
Reply
#4

i dont think there is a function that will show all your commands just to a line i guess you will have to make all manualy like

Код:
	SCM(playerid, COLOR_GRAD2,"{C3C3C3}[ACCOUNT]: {C3C3C3}/changepass /changesecret /stats /upgrade /id");
Reply
#5

Quote:
Originally Posted by Pk93
Посмотреть сообщение
i dont think there is a function that will show all your commands just to a line i guess you will have to make all manualy like

Код:
	SCM(playerid, COLOR_GRAD2,"{C3C3C3}[ACCOUNT]: {C3C3C3}/changepass /changesecret /stats /upgrade /id");
Well, there is a way if you use a stock. Though, I see no point in using a stock.

pawn Код:
ShowCommands(playerid, targetid)
{
    // Commands here.
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)