fix potential passive bug
This commit is contained in:
parent
0f4aee7915
commit
b461ee83e6
@ -23344,7 +23344,7 @@ stock SetPlayerPassiveMode( playerid )
|
|||||||
ResetPlayerPassiveMode( playerid );
|
ResetPlayerPassiveMode( playerid );
|
||||||
|
|
||||||
// place label
|
// place label
|
||||||
if ( ! IsPlayerInPaintBall( playerid ) && GetPlayerClass( playerid ) != CLASS_POLICE ) {
|
if ( ! p_WantedLevel[ playerid ] && ! IsPlayerInPaintBall( playerid ) && GetPlayerClass( 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 );
|
||||||
TextDrawShowForPlayer( playerid, g_PassiveModeTD );
|
TextDrawShowForPlayer( playerid, g_PassiveModeTD );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user