[HELP] Create3DTextLabel Not Update
#1

Create3DTextLabel not update ...


people, I'm trying to ping over the player, 3dtext of the update, the more he is changing the ping just not delete the old 3dtext ... he will put a text on top of another and is blurry to see, does anyone can help me?
sorry my bad English, I speak Portuguese BR

pawn Код:
new Text3D:label[MAX_PLAYERS];
pawn Код:
new string[256];
    new pingx;
    for (new i = 0; i < MAX_PLAYERS; i++) if (IsPlayerConnected(i))
    pingx=GetPlayerPing(i);
    format(string,sizeof(string),"ping: %d",pingx);
    label[playerid] = Create3DTextLabel(string, 0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(0x008080FF[playerid], playerid, 0.0, 0.0, 0.3);
Update3DTextLabelText(Text3D:pingx, 0x008080FF, string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)