SA-MP Forums Archive
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)
+--- Thread: TextDrawSetString (/showthread.php?tid=437679)



TextDrawSetString - JohnTravis - 16.05.2013

pawn Код:
TextDrawSetString(LGTd[14],"Test");
How can I format textdraw string just for a specific player?

This one:
pawn Код:
LGTd[14] = TextDrawCreate(203.000000, 237.000000, "~n~");
TextDrawAlignment(LGTd[14], 2);
TextDrawBackgroundColor(LGTd[14], 255);
TextDrawFont(LGTd[14], 1);
TextDrawLetterSize(LGTd[14], 0.500000, 9.300004);
TextDrawColor(LGTd[14], -1);
TextDrawSetOutline(LGTd[14], 0);
TextDrawSetProportional(LGTd[14], 1);
TextDrawSetShadow(LGTd[14], 1);
TextDrawUseBox(LGTd[14], 1);
TextDrawBoxColor(LGTd[14], 118);
TextDrawTextSize(LGTd[14], -1.000000, -3.000000);
TextDrawSetSelectable(LGTd[14], 0);



Re: TextDrawSetString - Pottus - 16.05.2013

You need to use player textdraws changing a string on a global TD will affect every player viewing the TD at that time.

https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw