House Name Owner
#6

Are you sure that Owner's name doesn't exceed 24?

I used:
pawn Код:
public OnGameModeInit( )
{
    printf( "The name is \"%s\"", NameWithoutUnderscore( "test_TEST" ) );
    return 1;
}

stock NameWithoutUnderscore( _name[ MAX_PLAYER_NAME ] )
{
    for( new i, l = strlen( _name ); i != l; i++ ) if( _name[ i ] == '_' ) _name[ i ] = ' ';
    return _name;
}
It compiles and prints:
pawn Код:
[18:27:46] The name is "test TEST"
Reply


Messages In This Thread
House Name Owner - by UnknownGamer - 27.09.2013, 14:53
Re: House Name Owner - by Konstantinos - 27.09.2013, 15:00
Re: House Name Owner - by UnknownGamer - 27.09.2013, 15:09
Re: House Name Owner - by Konstantinos - 27.09.2013, 15:12
Re: House Name Owner - by UnknownGamer - 27.09.2013, 15:16
Re: House Name Owner - by Konstantinos - 27.09.2013, 15:22
Re: House Name Owner - by UnknownGamer - 27.09.2013, 15:24
Re: House Name Owner - by Konstantinos - 27.09.2013, 15:29

Forum Jump:


Users browsing this thread: 1 Guest(s)