SA-MP Forums Archive
i am trying to make /help cmd - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i am trying to make /help cmd (/showthread.php?tid=88091)



i am trying to make /help cmd - stud4125 - 24.07.2009

help i don't know how to make a /help command to put all the commands for the players help plz!!!!

Oh and if you want to help me with all my other stuff just pm me or pm me on MSN thx xD






Re: i am trying to make /help cmd - -Sneaky- - 24.07.2009

Look at the gamemodes which come with the SA-MP server..


Re: i am trying to make /help cmd - stud4125 - 24.07.2009

Quote:
Originally Posted by Sleepy.
Look at the gamemodes which come with the SA-MP server..
um about that i accidentally deleted them the other day and forgot to add them back lol


Re: i am trying to make /help cmd - dafel2 - 24.07.2009

On top.
Код:
#define COLOR_WHITE 0xFFFFFFAA
Under OnPlayerCommandText
Код:
if(strcmp(cmd, "/help", true) == 0) {
SendClientMessage(playerid, COLOR_WHITE, "----- TEXT HERE -----");
SendClientMessage(playerid, COLOR_WHITE, "COMMANDS HERE");
SendClientMessage(playerid, COLOR_WHITE, "COMMANDS HERE");
SendClientMessage(playerid, COLOR_WHITE, "TEXT");
return 1;
}