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

What I use:
pawn Код:
stock GetPlayerNameEx(playerid)
{
    new string[24];
    GetPlayerName(playerid,string,24);
    new str[24];
    strmid(str,string,0,strlen(string),24);
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if (str[i] == '_') str[i] = ' ';
    }
    return str;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)