01.01.2014, 12:53
GF detected.
@TOPIC
@TOPIC
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);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
}
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) // 1 = ID DA ORG
{
format(string, sizeof(string), "%s diz: %s", PlayerName(playerid), text);
ProxDetector(20.0, playerid, string,COLOR_BLUE,COLOR_BLUE,COLOR_BLUE,COLOR_BLUE,COLOR_BLUE);// Color BLUE definiзгo de cor
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}// repita isso conforme a sua necessidade de acrescentar mais orgs.
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);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}
return 0;
}