26.04.2011, 11:39
pawn Код:
if(!strcmp(cmdtext,"/l",true)) //If the text starts with a '$', it'll send OOC.
{
new pName[MAX_PLAYER_NAME], string[128], text[64];
GetPlayerName(playerid, pName, sizeof pName);
format(string,sizeof string,"[OOC] %s: %s",pName, text);
SendClientMessageToAll(0x0000ffff,string);
return 1;
}