whys this not saying the players name.
#2

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)