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);
}
else
{
format(string, sizeof(string), "%s diz: %s", PlayerName(playerid), text);
ProxDetector(20.0, playerid, string,GetPlayerColor(playerid),GetPlayerColor(playerid),GetPlayerColor(playerid),GetPlayerColor(playerid),GetPlayerColor(playerid));
SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}
pawn Код:
|
{
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, GetPlayerColor(playerid), 20.0, 10000);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
}