SA-MP Forums Archive
Textdraws.. - 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: Textdraws.. (/showthread.php?tid=502337)



Textdraws.. - MythicalMarauder - 23.03.2014

Hi..
I have made textdraws for ranks bla bla
so after I reached the new rank, both of them got mixed up.. even kills..

Here:



They're below moneys..


Re: Textdraws.. - newbienoob - 23.03.2014

use player textdraw; https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw


Re: Textdraws.. - MythicalMarauder - 23.03.2014

What are you talking about..


AW: Textdraws.. - Nero_3D - 23.03.2014

You are probably recreating the textdraw at each update
You should use PlayerTextDrawSetString instead


Re: Textdraws.. - MythicalMarauder - 23.03.2014

No I'm not. I'm using PlayerTextDrawSetString.. But they are still mixing up..


Re: Textdraws.. - MP2 - 23.03.2014

Well you're creating the textdraw multiple times. You need to set the string, not create it again.


Re: Textdraws.. - MythicalMarauder - 23.03.2014

I'm not creating them multiple times.. I'm only changing the strings.. >.>


Re: Textdraws.. - MP2 - 23.03.2014

You ARE creating them multiple times. Just look at it. It's evident.


Re: Textdraws.. - MythicalMarauder - 23.03.2014


I said I'm not, and I didn't.
But nevermind, I fixed it.