Delete underscore from string
#5

pawn Код:
stock RemoveBracket(playerid)
{
    new szName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, szName, sizeof(szName));
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(szName[i] == '_') szName[i] = ' ';
    }
    return szName;
}
Usage:

pawn Код:
new SzString[128];
format(SzString, sizeof(SzString), "%s", RemoveBracket(playerid));
And there you have it
Reply


Messages In This Thread
Delete underscore from string - by Garwan50 - 15.08.2013, 12:44
Re: Delete underscore from string - by Misiur - 15.08.2013, 12:54
Re : Delete underscore from string - by Garwan50 - 15.08.2013, 13:12
Re: Delete underscore from string - by Jefff - 15.08.2013, 14:55
Re: Delete underscore from string - by Alexis1999 - 15.08.2013, 15:11
Re : Re: Delete underscore from string - by Garwan50 - 15.08.2013, 15:28
Re: Re : Re: Delete underscore from string - by Djole1337 - 15.08.2013, 15:30
Re : Delete underscore from string - by Garwan50 - 15.08.2013, 15:48
Re: Delete underscore from string - by MSuperXX - 15.08.2013, 15:55
Re : Delete underscore from string - by Garwan50 - 15.08.2013, 18:16

Forum Jump:


Users browsing this thread: 4 Guest(s)