TextDraw Help - 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: TextDraw Help (
/showthread.php?tid=514298)
TextDraw Help -
Twiggy - 20.05.2014
Hi,
I'm trying to add a textdraw that will show for everyone on the server when a player joins, it would say something along the lines of, '[playername] has connected to the server'.
How could I do this?
Thanks
Re: TextDraw Help -
DiGiTaL_AnGeL - 20.05.2014
pawn Код:
new namevar[MAX_PLAYER_NAME]
GetPlayerName(playerid, namevar, sizeof(namevar));
Now you can use "namevar" to format a string for your textdraw.