03.12.2012, 21:27
pawn Код:
public OnPlayerText(playerid,text[])
{
if(muted[playerid] == 1)
return SendClientMessage(playerid,-1,"ERROR:Your muted."), false;
static
string[200], playername[24]
;
if(PlayerInfo[playerid][pVIPLevel] < 1)
{
format(string, sizeof(string), "{00FFFF}[VIP] {FFFF00}- %s[%d]: {00FF40}- ( {FF00FF}%s {00FF40})",(GetPlayerName(playerid, playername, 24), playername), playerid, text);
SendClientMessageToAll(0xFF0000C8, string);
return 0;
}
format(string, 200, "%s[ID:%i]: %s",(GetPlayerName(playerid, playername, 24), playername), playerid, text);
SendClientMessageToAll(0xFF0000C8, string);
return false;
}