SA-MP Forums Archive
[Ajuda] Conflito com Create3DTextLabel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Conflito com Create3DTextLabel (/showthread.php?tid=563120)



Conflito com Create3DTextLabel - DokyPWN - 14.02.2015

Olб, estou com um bug assim, eu ponho uma 3DTextlabel em frente minha HQ, ok atй ai tudo bem. Tenho 3 3DTextLabel espalhadas no mapa, e eu tenho um sistema que seta o nome da gang em uma Attach3DTextLabel em cima da cabeзa. As vezes a 3DTextLabel da base fica com o texto da Attach3DTextLabel. Alguem poderia me ajudar?

Essa й a Attach3DTextLabel
stock AtualizarTextoHead(playerid)
{
new TextoToHead[40];
if(PlayerInfo[playerid][LevelTRI] >= 1) {
format(TextoToHead,sizeof(TextoToHead),"{FFFFFF}[TRIAD]");
Update3DTextLabelText(TextoHead[playerid],0x00FFDDFF,TextoToHead);}
return 1;
}

E Essa й a 3DTextLabel
Create3DTextLabel("{FFFFFF} HQ da gang\n{00FFDD}TRIAD",0x00FFDDFF,-1847.9191,-233.4678,18.2266,40,0,0);

OBS: nгo sei por com aquela caixinha de code.


Re: Conflito com Create3DTextLabel - Jimmmy - 14.02.2015

pawn Код:
SetTimerEx("AtualizarChatBubble", 1000, true, "i", playerid);
pawn Код:
forward AtualizarChatBubble(playerid);
public AtualizarChatBubble(playerid)
{
    if(PlayerInfo[playerid][LevelTRI] >= 1) return SetPlayerChatBubble(playerid, "{FFFFFF}[TRIAD]", 0x00FFDDFF, 100.0, 10000);
    return 1;
}



Re: Conflito com Create3DTextLabel - DokyPWN - 15.02.2015

Aн. deu certo, brigadгo cara.


Re: Conflito com Create3DTextLabel - Jimmmy - 15.02.2015

Quote:
Originally Posted by DokyPWN
Посмотреть сообщение
Aн. deu certo, brigadгo cara.
disponha