do not create a passive mode label for LEO

This commit is contained in:
Lorenc Pekaj 2018-09-24 23:08:39 +10:00
parent d85c80f750
commit 6810b321df

View File

@ -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;
}