[DUV] Retirar Underline..
#9

Nossa quanta falta de otimizaзгo..

pawn Код:
stock RetireUnderlineFromName(playerid,forchar)
{
     static Name[24],sIndex = 0;
     GetPlayerName(playerid,Name,24);
     while(Name[sIndex])
     {
          if(Name[sIndex] == '_')
          {
               Name[sIndex] = forchar;
               break;
          }
          ++sIndex;
     }
     return Name;
}
Dai sу usa:
Код:
SetPlayerName(playerid,RetireUnderlineFromName(playerid,'-')); // '-' mude
Removerб '_' para '-'
Reply


Messages In This Thread
[DUV] Retirar Underline.. - by Ryan_Howllet - 19.01.2011, 00:40
Re: [DUV] Retirar Underline.. - by Fabricio_Rios - 19.01.2011, 00:49
Re: [DUV] Retirar Underline.. - by Yakushi Icefox - 19.01.2011, 01:00
Re: [DUV] Retirar Underline.. - by Ryan_Howllet - 19.01.2011, 02:09
Re: [DUV] Retirar Underline.. - by rjjj - 19.01.2011, 03:11
Re: [DUV] Retirar Underline.. - by Trinix_PoS [Bizu] - 19.01.2011, 11:13
Re: [DUV] Retirar Underline.. - by Ryan_Howllet - 19.01.2011, 13:29
Re: [DUV] Retirar Underline.. - by Macintosh - 19.01.2011, 13:48
Respuesta: [DUV] Retirar Underline.. - by ipsBruno - 19.01.2011, 13:55
Re: [DUV] Retirar Underline.. - by Ricop522 - 19.01.2011, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)