How to remove the "_" from all the server messages
#1

Hello to all! I wanted to know how I could remove all the '_' in the names of the server! Doing it manually raising all 'SenderName' and so it would be impossible for me, since I have a gamemode that has more than 150 thousand lines. I already tried with a GetPlayerRPName, but I do not work. How can I do? Sorry my bad English.
Here's the GetPlayerRPName...
pawn Код:
stock GetPlayerRPName( playerid, name[ ], len )
{
    GetPlayerName( playerid, name, len );
    for(new i = 0; i < len; i++ )
    {
        if ( name[ i ] == '_' )
        name[ i ] = ' ';
    }
}
Thanks.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)