diff --git a/gamemodes/irresistible/cnr/features/cop/jail.pwn b/gamemodes/irresistible/cnr/features/cop/jail.pwn index 6c27297..ef4976b 100644 --- a/gamemodes/irresistible/cnr/features/cop/jail.pwn +++ b/gamemodes/irresistible/cnr/features/cop/jail.pwn @@ -268,7 +268,6 @@ stock JailPlayer( playerid, seconds, admin = 0 ) RemovePlayerStolensFromHands( playerid ); StopPlayerUsingSlotMachine ( playerid ); RemoveEquippedOre ( playerid ); - RemovePlayerFromEvent ( playerid, true ); ClearPlayerWantedLevel ( playerid ); ResetPlayerWeapons ( playerid ); UntiePlayer ( playerid ); @@ -276,6 +275,10 @@ stock JailPlayer( playerid, seconds, admin = 0 ) SetPlayerPosToPrison ( playerid ); Player_CheckPokerGame ( playerid, "Jailed" ); + #if defined __cloudy_event_system + RemovePlayerFromEvent ( playerid, true ); + #endif + // External Functions SetPlayerSpecialAction ( playerid, SPECIAL_ACTION_NONE ); ClearAnimations ( playerid );