25.02.2011, 23:12
Try:
pawn Код:
#define COLOR_YELLOW 0xFFD800FF
#define COLOR_WHITE 0xFFFFFFFF
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "-------commands------------");
SendClientMessage(playerid, COLOR_WHITE, "/command1 /command2 /command3");
SendClientMessage(playerid, COLOR_WHITE, "/command4 /command5 /command6");
SendClientMessage(playerid, COLOR_YELLOW, "-------commands------------");
return 1;
}
return 0;
}