How to actoully get a players name?
#4

Quote:
Originally Posted by Tomejus
Посмотреть сообщение
Код:
new pName[ MAX_PLAYER_NAME ], string[ 128 ]; // variables.
GetPlayerName( playerid, pName, MAX_PLAYER_NAME ); // get name.
format( string, sizeof( string ), "Your name is: %s", pName ); // formating.
SendClientMessage( playerid, COLOR, string ); // Sending.
He wanted to get the name of a player, by using the stock he posted. Not the way like u did. Though, it would work.
Reply


Messages In This Thread
How to actoully get a players name? - by Azzeto - 14.10.2011, 07:20
Re: How to actoully get a players name? - by Wesley221 - 14.10.2011, 07:35
Re: How to actoully get a players name? - by Tomejus - 14.10.2011, 07:47
Re: How to actoully get a players name? - by Wesley221 - 14.10.2011, 07:49
Re: How to actoully get a players name? - by Azzeto - 14.10.2011, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)