20.03.2009, 23:02
use that, thats the best
and to your first post, if you dont understand how that works, dont use it!
pawn Код:
if(!strcmp(cmdtext, "/announce", true, 9))
{
if(cmdtext[9] != 32 || cmdtext[10] == EOS)
return SendClientMessage(playerid, COLOR_BRIGHTRED, "USAGE: /announce <your announcement>");
new tString[128];
format(tString, sizeof(tString), "| Announcement: | %s", cmdtext[10]);
return SendClientMessageToAll(COLOR_YELLOW, tString);
}