From a2f11b3786b8fda141ac9f200ccd0451daf69cbb Mon Sep 17 00:00:00 2001 From: Cloudy <36423427+meCloudy@users.noreply.github.com> Date: Thu, 30 May 2019 09:10:05 +0300 Subject: [PATCH] Update jail.pwn --- gamemodes/irresistible/cnr/features/cop/jail.pwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gamemodes/irresistible/cnr/features/cop/jail.pwn b/gamemodes/irresistible/cnr/features/cop/jail.pwn index c6df2e5..df75ad4 100644 --- a/gamemodes/irresistible/cnr/features/cop/jail.pwn +++ b/gamemodes/irresistible/cnr/features/cop/jail.pwn @@ -264,7 +264,9 @@ stock JailPlayer( playerid, seconds, admin = 0 ) p_DetainedLabel [ playerid ] = Text3D: INVALID_3DTEXT_ID; p_DetainedBy [ playerid ] = INVALID_PLAYER_ID; + #if defined __cloudy_event_system RemovePlayerFromEvent ( playerid, true ); + #endif CancelEdit ( playerid ); RemovePlayerStolensFromHands( playerid ); StopPlayerUsingSlotMachine ( playerid );