[SOLVED]Rank Chat
#6

Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by Josh!
pawn Код:
public OnPlayerText(playerid, text[])
{

   
  if(GetPlayerScore(playerid) == 0)
  {
  new str[128];
  new name[100];
  GetPlayerName(playerid, name, sizeof(name));
  format(str, sizeof(str), "[Private]%s: %s", name , text);
  SendClientMessageToAll(COLOR_ORANGE, str);
 
  }
  return 0;
}
That's the same as I posted, why are you using
pawn Код:
new name[100];
The max player name is only 24, there is 76 extra cells that are not needed, the less the better .
Actually you posted it at nearly the same time, and it doesn't matter if it's 76 extra cells, who gives a fuck?
Reply


Messages In This Thread
[SOLVED]Rank Chat - by Hijolion - 01.01.2010, 01:43
Re: [UNSOLVED]Rank Chat - by [HiC]TheKiller - 01.01.2010, 01:50
Re: [UNSOLVED]Rank Chat - by Josh! - 01.01.2010, 01:51
Re: [UNSOLVED]Rank Chat - by [HiC]TheKiller - 01.01.2010, 01:55
Re: [UNSOLVED]Rank Chat - by Calon - 01.01.2010, 01:57
Re: [UNSOLVED]Rank Chat - by Josh! - 01.01.2010, 01:59
Re: [UNSOLVED]Rank Chat - by [HiC]TheKiller - 01.01.2010, 02:02
Re: [UNSOLVED]Rank Chat - by Hijolion - 01.01.2010, 03:19
Re: [UNSOLVED]Rank Chat - by Hijolion - 01.01.2010, 03:22
Re: [UNSOLVED]Rank Chat - by Josh! - 01.01.2010, 03:31
Re: [UNSOLVED]Rank Chat - by Hijolion - 01.01.2010, 03:42
Re: [UNSOLVED]Rank Chat - by KnooL - 01.01.2010, 05:55

Forum Jump:


Users browsing this thread: 1 Guest(s)