Question about TextDrawSetString - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question about TextDrawSetString (
/showthread.php?tid=277273)
Question about TextDrawSetString -
TheBetaFox - 17.08.2011
Does TextDrawSetString set the string for everyone or just a player? (I see it doesn't have 'playerid')
If it doesn't, how do I set the string of a textdraw just for one player?
Thank you.
Re: Question about TextDrawSetString -
[HiC]TheKiller - 17.08.2011
Unless you have single text draws for each player then it will update for everyone. If you would like to have a textdraw per player, you will have to create 500 textdraws and update them all whenever.
https://sampforum.blast.hk/showthread.php?tid=273543
Read that for more info.
Re: Question about TextDrawSetString -
TheBetaFox - 17.08.2011
Quote:
Originally Posted by [HiC]TheKiller
Unless you have single text draws for each player then it will update for everyone.
|
If I show it individually to each player using TextDrawShowForPlayer instead of TextDrawShowForAll (or whatever was the function) does the string update for players separately?
EDIT: Thanks, I'll read that