SA-MP Forums Archive
Problem with 3d text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with 3d text (/showthread.php?tid=315930)



Problem with 3d text - Setkus - 04.02.2012

pawn Код:
new Text3D:mylabel;
    mylabel = Create3DTextLabel("Type /go:",0x008080FF,30.0,40.0,50.0,40.0,0);
    Update3DTextLabelText(mylabel, 0xFFFFFFFF, "Nice!.");
The problem is why I see both texts after I type /go? How should I do that after type /go i should see only "Nice!" text? thanks for any help!


Re: Problem with 3d text - Psymetrix - 04.02.2012

Create the label under OnGameModeInit then update it under your /go command.