SA-MP Forums Archive
How to display Player name in this? - 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: How to display Player name in this? (/showthread.php?tid=153928)



How to display Player name in this? - Ihsan_Cingisiz - 11.06.2010

How can i display a playerid's Player Name?
I want to make that the players sees his/her own name on the radar
i use this script on OnGameModeInit()
Quote:

Textdraw4 = TextDrawCreate(88.000000, 324.000000, "IHSAN_CINGISIZ"); // Instead of Ihsan_Cingisiz i want to display the name of the player
TextDrawAlignment(Textdraw4, 2);
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 3);
TextDrawLetterSize(Textdraw4, 0.509999, 1.500000);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);