whys this not saying the players name.
#3

Quote:
Originally Posted by Don Correlli
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.
ty
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)