How to show a playersname when they spawn
#2

Код:
new UsernameString[MAX_PLAYER_NAME], WelcomeString[15 + MAX_PLAYER_NAME];
GetPlayerName(playerid, UserNameString, MAX_PLAYER_NAME);
format(WelcomeString, sizeof(WelcomeString), "Welcome %s!", UserNameString);
SendClientMessage(playerid, -1, WelcomeString);
That will welcome the user with their name in the message as well.
Reply


Messages In This Thread
How to show a playersname when they spawn - by cluckintucker - 25.11.2012, 22:35
Re: How to show a playersname when they spawn - by iTzZh - 25.11.2012, 23:10
Re: How to show a playersname when they spawn - by cluckintucker - 27.11.2012, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)