SolvedHelp with trigger

Posts 1–3 of 3 · Page 1 of 1
Help with trigger
Hi mpgh community,

I have problem with triggerbot. I will aim at the opponent and triggerbot sometimes does not shoot. Maybe it's the problem with code delay.

I have:

Code:
{
        Entity* inX = inCrosshair();
        if (inX != nullptr && Engine()->me.weapon_ammo > 0 && inX->hp > 0)
	if (Settings()->trig_delay > 0)
	{
		Sleep(Settings()->trig_delay);
	}
	autoAttacking = true;
	Engine()->Memory()->Write<int>(Engine()->getClientModule()->dwBase + Engine()->Offsets()->dwAttack, 1);
	Sleep(Settings()->trig_time);
}
or

Code:
Entity* inX = inCrosshair();
if (inX != nullptr && Engine()->me.weapon_ammo > 0 && inX->hp > 0)
{
	Sleep(Settings()->trig_delay);
	autoAttacking = true;
	Engine()->Memory()->Write<int>(Engine()->getClientModule()->dwBase + Engine()->Offsets()->dwAttack, 1);
	Sleep(Settings()->trig_time);
}
Please help with triggershot. I have set delay 20 in settings file.
Like i already said on the other forum, try raising your sleep, you also do not reset your shoot variable to 0, you only set it to 1.
Moved to correct section.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us