SA-MP Forums Archive
why 3dynamictextlabel disappear - 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: why 3dynamictextlabel disappear (/showthread.php?tid=663508)



why 3dynamictextlabel disappear - rockys - 03.02.2019

i add 3dynamictextlabel to player, and after 10 secounds text disappear


Re: why 3dynamictextlabel disappear - Proxus - 03.02.2019

Can you show us the script? Probably just a small error


Re: why 3dynamictextlabel disappear - rockys - 03.02.2019

new Text3D:lbl[MAX_PLAYERS];
on login
Код:
DestroyDynamic3DTextLabel(lbl[playerid]);
lbl[playerid] = CreateDynamic3DTextLabel("{FFFF00}USER", COLOR_WHITE, 0, 0, -20, 20, playerid,-1,-1,-1,-1,-1,20.0);
Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, lbl[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.4);



Re: why 3dynamictextlabel disappear - rockys - 03.02.2019

what is wrong? why disappear


Re: why 3dynamictextlabel disappear - Proxus - 03.02.2019

Try this:
lbl[playerid] = CreateDynamic3DTextLabel("{FFFF00}USER", COLOR_WHITE, 0, 0, -20, 20, playerid);