i am trying to make /help cmd
#1

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



Reply
#2

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

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
Reply
#4

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)