From 89e3c2b85c52c0837715ec9e7e67bb66ee736608 Mon Sep 17 00:00:00 2001 From: Damen Date: Wed, 17 Apr 2019 19:13:56 -0400 Subject: [PATCH] comments out issue till later fixed --- gamemodes/irresistible/cnr/features/cop/jail.pwn | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/gamemodes/irresistible/cnr/features/cop/jail.pwn b/gamemodes/irresistible/cnr/features/cop/jail.pwn index c8171bb..f0e8187 100644 --- a/gamemodes/irresistible/cnr/features/cop/jail.pwn +++ b/gamemodes/irresistible/cnr/features/cop/jail.pwn @@ -50,17 +50,12 @@ hook OnScriptInit( ) return 1; } -hook OnPlayerEnterDynamicCP( playerid, checkpointid ) { - if ( IsPlayerJailed( playerid ) && checkpointid != ( g_Checkpoints[ CP_DROP_OFF_COP ] || - g_Checkpoints[ CP_DROP_OFF_FC ] || g_Checkpoints[ CP_DROP_OFF_DILLIMORE ] || - g_Checkpoints[ CP_DROP_OFF_DIABLO ] || g_Checkpoints[ CP_DROP_OFF_QUBRADOS ] || - g_Checkpoints[ CP_DROP_OFF_COP_LS ] || g_Checkpoints[ CP_DROP_OFF_FBI_LS ] || - g_Checkpoints[ CP_DROP_OFF_FBI_LV ] || g_Checkpoints[ CP_DROP_OFF_COP_LV ] || - g_Checkpoints[ CP_DROP_OFF_FBI ] || g_Checkpoints[ CP_DROP_OFF_HELI ] ) ) { - return SendError( playerid, "You're jailed, and you accessed a checkpoint. I smell a cheater." ), KickPlayerTimed( playerid ), Y_HOOKS_BREAK_RETURN_1; +/*hook OnPlayerEnterDynamicCP( playerid, checkpointid ) { + if ( IsPlayerJailed( playerid ) ) { + return SendError( playerid, "You're jailed, and you accessed a checkpoint. I smell a cheater." ), KickPlayerTimed( playerid ), Y_HOOKS_BREAK_RETURN_1; } return 1; -} +}*/ hook OnPlayerUpdateEx( playerid ) {