From 6810b321dfaa55035b6456a0e49103585cab653f Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Mon, 24 Sep 2018 23:08:39 +1000 Subject: [PATCH] do not create a passive mode label for LEO --- gamemodes/sf-cnr.pwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 802a7cd..815fcdf 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -25687,7 +25687,9 @@ stock SetPlayerPassiveMode( playerid ) ResetPlayerPassiveMode( playerid ); // place label - p_PassiveModeLabel[ playerid ] = CreateDynamic3DTextLabel( "Passive Mode", COLOR_GREEN, 0.0, 0.0, -0.6, 15.0, .attachedplayer = playerid ); + if ( p_Class[ playerid ] != CLASS_POLICE ) { + p_PassiveModeLabel[ playerid ] = CreateDynamic3DTextLabel( "Passive Mode", COLOR_GREEN, 0.0, 0.0, -0.6, 15.0, .attachedplayer = playerid ); + } return 1; }