How to remove the "_" from the names?
#8

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)