Display all commands - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Display all commands (
/showthread.php?tid=457036)
Display all commands -
RedJohn - 08.08.2013
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.
Re: Display all commands -
Konstantinos - 08.08.2013
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.
Re: Display all commands -
RedJohn - 08.08.2013
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.
Re: Display all commands -
Pk93 - 08.08.2013
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");
Re: Display all commands -
Elysian` - 08.08.2013
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;
}