SA-MP Forums Archive
Custom textdraw strings for players - 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: Custom textdraw strings for players (/showthread.php?tid=311081)



Custom textdraw strings for players - Rokzlive - 15.01.2012

I forgot, how do i make a textdraw that can be set specific for each player?


Re: Custom textdraw strings for players - coole210 - 15.01.2012

pawn Код:
new Text:name[MAX_PLAYERS];
OnPlayerConnect:

TextDrawCreate(name[playerid],blabla);
TextDrawShowForPlayer(playerid,name[playerid]);
OnPlayerDisconnect:

TextDrawHideForPlayer(playerid,name[playerid]);
TextDrawDestroy(name[playerid]);



Re: Custom textdraw strings for players - Rokzlive - 15.01.2012

Lol yeah i just remembered how when i saw this, thanks though