do not place random hits on passive players
This commit is contained in:
parent
1139f4e92e
commit
54b05cf011
@ -13255,7 +13255,7 @@ stock PlayerPlaceRandomHits( )
|
||||
for ( new playerid = 0; playerid < sizeof( ignored_players ); playerid ++ )
|
||||
{
|
||||
// remove unconnected / npcs / aod / low score
|
||||
if ( ! IsPlayerConnected( playerid ) || IsPlayerNPC( playerid ) || IsPlayerAdminOnDuty( playerid ) || GetPlayerScore( playerid ) < 25 || IsPlayerAFK( playerid ) )
|
||||
if ( ! IsPlayerConnected( playerid ) || IsPlayerNPC( playerid ) || IsPlayerAdminOnDuty( playerid ) || GetPlayerScore( playerid ) < 25 || IsPlayerAFK( playerid ) || IsPlayerPassive( playerid ) )
|
||||
{
|
||||
ignored_players[ playerid ] = playerid;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user