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.