[SOLVED] Underscore
#6

Quote:
Originally Posted by Virtual1ty
pawn Код:
stock GetPlayerNameEx(playerid)
{
  new string[24];
  GetPlayerName(playerid,string,24);
  new str[24];
  strmid(str,string,0,strlen(string),24);
  for(new i = 0; i < MAX_PLAYER_NAME; i++)
  {
    if (str[i] == '_') str[i] = ' ';
  }
  return str;
}
how i'd put this in onplayerconnect?
Reply


Messages In This Thread
[SOLVED] Underscore - by KnooL - 12.01.2010, 14:37
Re: [UNSOLVED] Underscore - by RyDeR` - 12.01.2010, 14:44
Re: [UNSOLVED] Underscore - by Virtual1ty - 12.01.2010, 14:50
Re: [UNSOLVED] Underscore - by GTAguillaume - 12.01.2010, 14:51
Re: [UNSOLVED] Underscore - by KnooL - 12.01.2010, 19:38
Re: [UNSOLVED] Underscore - by KnooL - 13.01.2010, 16:03
Re: [UNSOLVED] Underscore - by AiVAMAN - 13.01.2010, 16:20
Re: [UNSOLVED] Underscore - by Sergei - 13.01.2010, 16:22
Re: [UNSOLVED] Underscore - by KnooL - 13.01.2010, 16:52
Re: [UNSOLVED] Underscore - by Kurence - 13.01.2010, 17:26

Forum Jump:


Users browsing this thread: 2 Guest(s)