11.03.2011, 14:13
pawn Код:
public OnPlayerText(playerid,text[])
{
if(text[0] == '!')
{
if( PlayerInfo [ playerid ] [ VIP ] > = 1)
{
static lolz[128],Nome_Admin[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome_Admin, sizeof(Nome_Admin));
format(lolz, sizeof(lolz),"[VIP-CHAT]: %s[ID:%i]%s",Nome_Admin, playerid, text[1]);
SendClientMessage(i, 0x00FF00AA, lolz);
return false;
}
}
return false;
}