SA-MP Forums Archive
3D TEXT LABELS Cause lagg - 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: 3D TEXT LABELS Cause lagg (/showthread.php?tid=520467)



3D TEXT LABELS Cause lagg - [Cali]ChrOnic_T - 19.06.2014

Fixed the problem, I dont put them in OnPlayerConnect or it will make the labels everytime someone connects. so I put it under OnGameModeInIt




Re: 3D TEXT LABELS Cause lagg - Laurey - 19.06.2014

Thats weird, its normally non transparent as used by most of the servers, however you can try defining the color instead and use string to apply colors like #define WHITE 0xFFFFFFFF and use just WHITE, i am not sure though.


Re: 3D TEXT LABELS Cause lagg - Threshold - 19.06.2014

Can you show us where you create the labels? My guess is that you have created multiple labels on the one spot and they are causing you to lag. A single text label shouldn't be lagging anyone at all, and if it turns out you are creating like 100 labels on the same spot, you can expect some issues.


Re: 3D TEXT LABELS Cause lagg - Hashski - 19.06.2014

Your text label is most likely looping and creating the same text more than once, probably over 150 + if it lags. Show me the code and I'll take a look at it.