Hide "_" in player names
#5

pawn Код:
RemoveUnderscore(playerid)
{
    new szPlayerName[ MAX_PLAYER_NAME ];
       
    GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
   
    for(new i=0; i < MAX_PLAYER_NAME; ++i)
    {
        if(szPlayerName[i] == EOS)break;
       
        if(szPlayerName[i] == '_')
            szPlayerName[i] = ' ';
    }
    SetPlayerName(playerid, szPlayerName);
}
Reply


Messages In This Thread
Hide "_" in player names - by ChristofferHoffmann - 24.07.2012, 19:27
Re: Hide "_" in player names - by ViniBorn - 24.07.2012, 19:33
Re: Hide "_" in player names - by RedJohn - 24.07.2012, 19:36
Re: Hide "_" in player names - by ChristofferHoffmann - 24.07.2012, 19:36
Re: Hide "_" in player names - by iggy1 - 24.07.2012, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)