whys this not saying the players name.
#9

Quote:
Originally Posted by [HLF
Southclaw ]
here you go:
pawn Код:
new pName[MAX_PLAYER_NAME];
  new string[48];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s has joined the fun, Be nice", pName);//the %s will be replaced by the players name, defined by the new pName[MAX_PLAYER_NAME]; and the players name is actualy found with GetPlayerName()
  SendClientMessageToAll(0xAAAAAAAA, string);//the 'string' is what is denoted in the line above
ty man this rrealy halpz =]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)