pawn Код:
new result[185], //185 is the limited of the string
name[MAX_PLAYER_NAME]; //defining whole the player's name
GetPlayerName(playerid, name, MAX_PLAYER_NAME); //now we are getting the player's name through that line
format(result, 185/*or sizeof(result) it's the same*/, "MyName: %s", name);
SendClientMessage(playerid, -1, result);