SA-MP Forums Archive
[Ajuda] Atualizaзгo Create3DTextLabel (In-game)І - 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] Atualizaзгo Create3DTextLabel (In-game)І (/showthread.php?tid=381167)



Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 28.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - Don_Speed - 28.09.2012

Tenta assim!
pawn Код:
public OnPlayerSpawn(playerid)
{
    new mtemp[256];
    format(mtemp,256,"Policia Militar\n==================\nLнder: %s\n==================\nSub-Lнder: %s\n==================",InfoOrg[1][Lider],InfoOrg[1][SubLider]);
    Update3DTextLabelText(mtemp, 0x00BFFFFF, 1545.0447,-1675.2751,13.5596, 20.0,0);
    return 1;
}



Re: Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 28.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - zSuYaNw - 28.09.2012

pawn Код:
new Text3D:mtemp;
mtemp = Create3DTextLabel("Policia Militar\n==================\nLнder: %s\n==================\nSub-Lнder: %s\n==================",InfoOrg[1][Lider],InfoOrg[1][SubLider]);
Update3DTextLabelText(mtemp, 0x00BFFFFF, 1545.0447,-1675.2751,13.5596, 20.0,0);
Atualizar:
pawn Код:
new String[128];
    format(String,128,"Policia Militar\n==================\nLнder: %s\n==================\nSub-Lнder: %s\n==================",InfoOrg[1][Lider],InfoOrg[1][SubLider]);
    Update3DTextLabelText(mtemp, 0x00BFFFFF, String);



Re: Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 28.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - zSuYaNw - 28.09.2012

Nгo sei, crie um timer e chame para atualizar.


Re: Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 28.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 29.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - Coringa_Vilao - 29.09.2012

Resolvido !


Re: Atualizaзгo Create3DTextLabel (In-game)І - zSuYaNw - 29.09.2012

pawn Код:
// COLOQUE NO ONGAMEMODEINIT:
    SetTimer("CallMe", 60 * 1000,true);
   
// FINAL DO GAMEMODE PO
forward CallMe();public CallMe(){
    new String[128];
    format(String,128,"Policia Militar\n==================\nLнder: %s\n==================\nSub-Lнder: %s\n==================",InfoOrg[1][Lider],InfoOrg[1][SubLider]);
    Update3DTextLabelText(mtemp, 0x00BFFFFF, String);
    return true;
}