hide passive mode in paintball

This commit is contained in:
Lorenc Pekaj 2018-09-25 00:33:14 +10:00
parent f22566c215
commit 549427500c

View File

@ -25683,7 +25683,7 @@ stock SetPlayerPassiveMode( playerid )
ResetPlayerPassiveMode( playerid ); ResetPlayerPassiveMode( playerid );
// place label // place label
if ( p_Class[ playerid ] != CLASS_POLICE ) { if ( ! IsPlayerInPaintBall( playerid ) && GetPlayerClass( playerid ) != CLASS_POLICE ) {
p_PassiveModeLabel[ playerid ] = CreateDynamic3DTextLabel( "Passive Mode", COLOR_GREEN, 0.0, 0.0, -0.6, 15.0, .attachedplayer = playerid ); p_PassiveModeLabel[ playerid ] = CreateDynamic3DTextLabel( "Passive Mode", COLOR_GREEN, 0.0, 0.0, -0.6, 15.0, .attachedplayer = playerid );
} }
return 1; return 1;