Underscore in names
#2

pawn Код:
NameWithout_(playerid) // Unknown Author, found on SA-MP Forums
{
    new var1[32];
    var1="Invalid_Player_ID";
    if(IsPlayerConnected(playerid))
    {
        GetPlayerName(playerid, var1, sizeof(var1));
        for(new i = 0; i < sizeof(var1); i++)
        { if(var1[i] == '_') { var1[i] = ' '; } }
    }
    return var1;
}
Reply


Messages In This Thread
<fixed> - by Kingunit - 25.01.2011, 14:07
Re: Underscore in names - by Mike Garber - 25.01.2011, 14:45
Re: Underscore in names - by Kingunit - 25.01.2011, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)