PHP код:
#if DESTAQUE_CHAT == 1
if(PlayerInfo[playerid][Admin] > 1)
{
format(DESStr,sizeof(DESStr),"[ADM]%s {CCFF00}[ID:{FFFFFF}%d{CCFF00}]:{FFFFFF} %s",Nome(playerid),playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid),DESStr);
SetPlayerChatBubble(playerid,text,-1,80,4000);
return 0;
}
else
if(pVip[playerid][1] > 1)
{
format(DESStr,sizeof(DESStr),"[VIP] %s {CCFF00}[ID:{FFFFFF}%d{CCFF00}]:{FFFFFF} %s",Nome(playerid),playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid),DESStr);
SetPlayerChatBubble(playerid,text,-1,80,4000);
return 0;
}
else
if(PlayerInfo[playerid][Admin] == 0 && pVip[playerid][1] == 0)
{
format(DESStr,sizeof(DESStr),"[PLAYER] %s {CCFF00}[ID:{FFFFFF}%d{CCFF00}]:{FFFFFF} %s",Nome(playerid),playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid),DESStr);
SetPlayerChatBubble(playerid,text,-1,80,4000);
return 0;
}
#endif
//aqui \/
return 0;
}