Textdraw for each player. - 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: Textdraw for each player. (
/showthread.php?tid=192900)
Textdraw for each player. -
Haydz - 24.11.2010
I currently have a little bar textdraw along the bottom of the screen, whenever a player types /work or finishes a mission, it will change the textdraw for everybody. so i need to create a textdraw for each player but not sure how.
Re: Textdraw for each player. -
Hijolion - 24.11.2010
Put this Textdrawname[playerid] into each line of textdraw and on top of the script new textdrawname[MAX_PLAYERS];
Re: Textdraw for each player. - [L3th4l] - 24.11.2010
pawn Код:
new Text:YourTextDraw[MAX_PLAYERS];
YourTextDraw[playerid] = CreateTextDraw(...);
TextDrawSetString(YourTextDraw[playerid], String);
TextDrawShowForPlayer(playerid, YourTextDraw[playerid]);
Re: Textdraw for each player. -
Haydz - 24.11.2010
got it, thanks guys