From 549427500c4ac1e5599013eae7d9c9dedfa7d493 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Tue, 25 Sep 2018 00:33:14 +1000 Subject: [PATCH] hide passive mode in paintball --- gamemodes/sf-cnr.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index d5be56d..78464bc 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -25683,7 +25683,7 @@ stock SetPlayerPassiveMode( playerid ) ResetPlayerPassiveMode( playerid ); // 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 ); } return 1;