14.05.2012, 03:23
pawn Код:
if (realchat)
{
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
if(PlayerInfo[playerid][pMaskuse] == 1)
{
format(string, sizeof(string), "Mascarado diz: %s", text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
//ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
}
else
{
format(string, sizeof(string), "%s diz: %s", PlayerName(playerid), text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
//ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}
return 0;
}
return true;
}