Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "Globals.h"
- #include "Functions.h"
- #include "csgo.h"
- #define fl_duckGround 263
- #define fl_nrmlGround 257
- int main()
- {
- if (AttachProcess("csgo.exe"))
- {
- client = GetModule("client_panorama.dll");
- while(!GetAsyncKeyState(VK_DELETE)
- {
- localPlayer = rpm<DWORD>(client + csgo::dwLocalPlayer);
- if(GetAsyncKeyState(VK_SPACE)
- {
- int pFlags = rpm<int>(localPlayer + csgo::m_fFlags);
- vector3 pVel = rpm<vector3>(localPlayer + csgo::m_vecVelocity);
- int pMag = pVel.x + pVel.y + pVel.z;
- if(pFlags == fl_nrmlGround || pFlags == fl_duckGround)
- {
- if(pMag != 0)
- {
- wpm<int>(6, client + csgo::dwForceJump);
- }
- }
- }
- Sleep(1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement