3 text label difference.
#1

Hi,

I want to ask. Is here a difference if i do that:

Код:
new Text3D:mylabel;
    mylabel = Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
    Update3DTextLabelText(mylabel, 0xFFFFFFFF, "New text.");
or
Код:
new Text3D:mylabel;
    mylabel = Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
    Update3DTextLabelText(Text3D:mylabel, 0xFFFFFFFF, "New text.");
When i update 3dtext label i add Text3D tag.
Reply
#2

mylabel has already Text3D tag so it's pointless.
Reply
#3

There is no difference between both of them. Use this one:

pawn Код:
new Text3D:mylabel;
mylabel = Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
Update3DTextLabelText(mylabel, 0xFFFFFFFF, "New text.");
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)