TextDrawSetString
#1

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);
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)