[Ajuda] Atualizaзгo Create3DTextLabel (In-game)І
#1

Resolvido !
Reply
#2

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

Resolvido !
Reply
#4

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);
Reply
#5

Resolvido !
Reply
#6

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

Resolvido !
Reply
#8

Resolvido !
Reply
#9

Resolvido !
Reply
#10

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


Forum Jump:


Users browsing this thread: 3 Guest(s)