PDA

View Full Version : TextDraw Help


Twiggy
20/05/2014, 07:54 PM
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

DiGiTaL_AnGeL
20/05/2014, 08:38 PM
new namevar[MAX_PLAYER_NAME]
GetPlayerName(playerid, namevar, sizeof(namevar));
Now you can use "namevar" to format a string for your textdraw.