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;
}