do not create a passive mode label for LEO
This commit is contained in:
parent
d85c80f750
commit
6810b321df
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user