Removal of underscores
#3

Quote:
Originally Posted by bigcomfycouch
Посмотреть сообщение
pawn Код:
for ( new i, s = strlen( string ); i < s; ++i )
    if ( string[ i ] == '_' )
        string[ i ] = ' ';
And how would I go about using that with things such as GetPlayerName?

pawn Код:
stock pName(playerid)
{
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    return Name;
}
I have that, how would I go about modifying it to get rid of the _?
Reply


Messages In This Thread
Removal of underscores - by Skylar Paul - 12.03.2011, 02:15
Re: Removal of underscores - by bigcomfycouch - 12.03.2011, 02:28
Re: Removal of underscores - by Skylar Paul - 12.03.2011, 02:51

Forum Jump:


Users browsing this thread: 1 Guest(s)