UI.AddCheckbox("Fl dt");
var time = 0;
function can_shift_shot(ticks_to_shift) {
var me = Entity.GetLocalPlayer();
var wpn = Entity.GetWeapon(me);
if (me == null || wpn == null)
return false;
var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
var curtime = Globals.TickInterval() * (tickbase-ticks_to_shift)
if (curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack"))
return false;
if (curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack"))
return false;
return true;
}
function on_cm() {
if(UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck"))
return;
if(UI.GetValue("Fl dt")){
if (Ragebot.GetTarget()){
if (can_shift_shot(2)) {
UI.SetValue("Rage", "GENERAL", "Exploits", "Doubletap", true)
if(!UI.IsHotkeyActive("Rage", "Exploits", "Doubletap"))
UI.ToggleHotkey("Rage", "GENERAL", "Exploits", "Doubletap")
Exploit.DisableRecharge()
Exploit.Recharge()
}
}
else if(time < Global.Tickcount( ))
UI.SetValue("Rage", "GENERAL", "Exploits", "Doubletap", false)
}
else
Exploit.EnableRecharge();
}
function event_rbot_fire( ) {
iExploitID = Event.GetInt( "exploit" );
if ( iExploitID == 2 )
time = Global.Tickcount( ) + 5
}
Cheat.RegisterCallback("ragebot_fire", "event_rbot_fire");
Cheat.RegisterCallback("CreateMove", "on_cm");