adds KillTimer for arrest, forgot to do when re-did branch

This commit is contained in:
Damen 2019-01-13 01:15:48 -05:00
parent 7eae2186a5
commit 9bc63471cb

View File

@ -278,6 +278,8 @@ stock ArrestPlayer( victimid, playerid )
GivePlayerSeasonalXP( victimid, -20.0 );
SendGlobalMessage( -1, ""COL_GOLD"[JAIL]{FFFFFF} %s(%d) has sent %s(%d) to jail for %d seconds!", ReturnPlayerName( playerid ), playerid, ReturnPlayerName( victimid ), victimid, totalSeconds );
JailPlayer( victimid, totalSeconds );
KillTimer( p_AwaitingBCAttemptTimer[ victimid ] );
p_AwaitingBCAttemptTimer[ playerid ] = SetTimerEx( "BreakPlayerCuffsAttempt", 3000, false, "d", victimid );
return 1;
}
else return SendError( playerid, "There are no players around to arrest." );