View Single Post
tzzion
Member
Join Date: Oct 2016
Old 01-22-2019 , 02:23   Re: [CS:GO] Instant Defuse (v1.2.1 01/12/18)
Reply With Quote #37

Quote:
Originally Posted by eyal282 View Post
Thank you ! Tested and working


Code:
		if (remaining > 10.0 || (remaining > 5.0 && GetEventBool(event, "haskit", false)))
		{

			new userid = GetEventInt(event, "userid");
			CreateTimer(0.0, timer_delay, userid);
			PrintToChatAll("\x01 \x09[\x04%s\x09]\x01 CT's defused the bomb in time! \x0F%.1fs\x01 remaining.", "Insta-Defuse", remaining);
			g_DefuseFlag = false;
		}

		if (remaining < 5.0 || (remaining < 10.0 && !GetEventBool(event, "haskit", false)))
		{

			CS_TerminateRound(1.5, CSRoundEndReason:8, false);
			PrintToChatAll("\x01 \x09[\x04%s\x09]\x01 CT's didn't defuse in time! \x0F%.1fs\x01 remaining.", "Insta-Defuse", remaining);
			g_DefuseFlag = false;
		}
	}
This message is loved by my players. The bug regarding the C4 not being defused in random moments is fixed. But I miss that message.

Could you do a fix version with that message?
__________________
tzzion is offline