Replace '_' with ' '
#2

pawn Код:
ReturnPlayerName(playerid, no_underscore = 1)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    if(no_underscore) for(new z = 0; z < MAX_PLAYER_NAME; z++) if(name[z] == '_') name[z] = ' ';
    return name;
}
Reply


Messages In This Thread
Replace '_' with ' ' - by Antonio [G-RP] - 16.06.2010, 05:05
Re: Replace '_' with ' ' - by bigcomfycouch - 16.06.2010, 05:21

Forum Jump:


Users browsing this thread: 1 Guest(s)