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 ); ResetPlayerPassiveMode( playerid );
// place label // place label
if ( p_Class[ 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;
} }