[AJUDA] 3DTextLabel
#1

o problema й que quando a 3DText й atualizada (Update3DTextLabelText) a nova string sobrepхe a antiga invйz de substituir ficando uma por cima da outra



pawn Код:
new Text3D:TEXT1[MAX_PLAYERS];
new Zstring[128];

public OnPlayerSpawn(playerid)
{
    format(Zstring, sizeof(Zstring), "Matou %d || Morreu %d", pInfo[i][matou],pInfo[i][morreu]);
    TEXT1[playerid] = Create3DTextLabel(Zstring,0x00FF00FF,0.0,0.0,5,10.0,0,0);
    Attach3DTextLabelToPlayer(TEXT1[playerid], playerid, 0.0, 0.0, 0.42);
    return 1;
}

[IMG]http://i1081.photobucket.com/albums/j350/marcos997gt/sa-mp-006.png[/IMG]

forward TextStats();
public TextStats()
{
    for(new i; i < MAX_PLAYERS; ++i)
    {
        format(Zstring, sizeof(Zstring), "Matou %d || Morreu %d", pInfo[playerid][matou],pInfo[playerid][morreu]);
        Update3DTextLabelText(TEXT1[i], 0x00FF00FF, Zstring);
    }
    return 1;
}
como resolvo isso
Reply


Messages In This Thread
[AJUDA] 3DTextLabel - by Crueliz0n - 25.06.2012, 17:09
Re: [AJUDA] 3DTextLabel - by Jason` - 25.06.2012, 17:12
Re: [AJUDA] 3DTextLabel - by Crueliz0n - 25.06.2012, 17:16
Re: [AJUDA] 3DTextLabel - by Don_Speed - 25.06.2012, 17:16
Re: [AJUDA] 3DTextLabel - by Crueliz0n - 25.06.2012, 17:18
Re: [AJUDA] 3DTextLabel - by Don_Speed - 25.06.2012, 17:20
Re: [AJUDA] 3DTextLabel - by Crueliz0n - 25.06.2012, 17:21
Re: [AJUDA] 3DTextLabel - by RoacH` - 25.06.2012, 17:21
Re: [AJUDA] 3DTextLabel - by Jason` - 25.06.2012, 17:29
Re: [AJUDA] 3DTextLabel - by Crueliz0n - 25.06.2012, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)