[Ajuda] Conflito com Create3DTextLabel
#1

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.
Reply
#2

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;
}
Reply
#3

Aн. deu certo, brigadгo cara.
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)