pawn Код:
stock PlayerName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
return name;
}
SendPlayerFormattedText(playerid,"Thanks to %s", PlayerName(playerid)); // this will show the name of the player who will type the command, you can change it to anything else you like.