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=660733)



Textdraws - Killersx - 11.11.2018

what is the difference between textdraw global and textdraw player ?


Re: Textdraws - khRamin78 - 11.11.2018

globals are shown for all players and when its changed it will be changed for all players but the player textdraws are more suitable and dynamic like changing textdraws for each player in different style

i hope you understand what i mean here is a method :


Global TextDraw >

old-text : hello
new-text : world!

changing it will change the texttraw text for every one in server

PlayerTextDraw
old-text:hello
new-text:world!

will just change specied player int textdraw set string and the only one will see world! is that player others will still see hello;


this was a simple method and change able things accepts this rules in one word player textdraws are just made for one player and it is special for tha player but global is for everyone