Bomb timer whats wrong

Posts 1–4 of 4 · Page 1 of 1
Bomb timer whats wrong
Hello,
I trying to make a bomb timer to my internal hack but the time stuck on 42**********.00 for example.
Code:
	BombCarrier = nullptr;

	Vector vOrig; Vector vScreen;
	vOrig = pEntity->GetOrigin();
	CCSBomb* Bomb = (CCSBomb*)pEntity;
	IClientEntity* pLocalEntity = (IClientEntity*)Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
	if (Render::WorldToScreen(vOrig, vScreen))
	{
		float flBlow = NetVar.GetNetVar(0x297C);
		float m_nTickBase = NetVar.GetNetVar(0x3424);
		float flServerTime = m_nTickBase * Interfaces::Globals->interval_per_tick;
		float TimeRemaining = flBlow - flServerTime;
		char buffer[64];
		sprintf_s(buffer, "Bomb: %.1f", TimeRemaining);
		Render::Text(vScreen.x, vScreen.y, Color(250, 42, 42, 255), Render::Fonts::ESP, buffer);
	}
Help please!
flBlow = pBomb + 0x297C
flCurrentTime = pGlobalVariables + 0x10
flRemaining = flBlow - flCurrentTime
Since everyone pastes from ayyware or use ayyware as base go to Entities.h And change ( update ) the signature.

And replace your GetBlowTime offset to :
CNETVAR_FUNC(float, GetC4BlowTime, 0xB5E0CA1C); //m_flC4Blow
lol maybe you should learncpp.com first before using whip's source which is the only ayyware paste i know of that broke c4 timer
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?