Quote:
Originally Posted by eyal282
|
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?
__________________