01.02.2009, 21:30
Quote:
|
Originally Posted by ssǝן‾ʎ
Err, what happens if you type "/an" (nothing after)?
|
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if((strcmp(cmdtext, "/an", true, 3) == 0) && (strlen(cmdtext) => 5) && IsPlayerAdmin(playerid))
{
strdel(cmdtext, 0, 4);
GameTextForAll(cmdtext, 2000, 3);
return 1;
}
return 0;
}

