The function i changed
PHP Code:
stock hud_print( plr, channel, Float:x, Float:y, const message[], { Float, Sql, Result, _ }:... )
{
static max_players;
if( !max_players )
max_players = get_maxplayers( );
static msg[192];
vformat( msg, sizeof msg - 1, message, 3 );
if( plr <= max_players && plr )
{
set_hudmessage( 255, 45, 0, x, y, 0, 6.0, 2.2, 0.0, 0.0, channel );
show_hudmessage( plr, msg );
}
else if( !plr )
{
set_hudmessage( 255, 45, 0, x, y, 0, 6.0, 5.0, 0.0, 0.0, channel );
show_hudmessage( 0, msg );
}
return 1;
}
__________________