Reny Sevnta Posted July 26, 2021 Share Posted July 26, 2021 (edited) ANSWERED. Thanks Fizzy!😄  Hi. I have a question. I was making a csgo cheat with imgui. But im stuck on keybinds. i coded the menu to choose a keybind. But i cannot figure out the code tp get the keybind to use aimbot Edited July 26, 2021 by Reny Sevnta Link to comment Share on other sites More sharing options...
Fizzy Posted July 26, 2021 Share Posted July 26, 2021 bool CAimbotGlobal::IsKeyDown() { return !Vars::Aimbot::Global::AimKey.m_Var ? true : (GetAsyncKeyState(Vars::Aimbot::Global::AimKey.m_Var) & 0x8000); } Â Â 0x8000 is the realtime state of the key, so it doesn't constantly lock on to a target after you let go of the button I got this code snippet from unknowncheats somewhere. Link to comment Share on other sites More sharing options...
Reny Sevnta Posted July 26, 2021 Author Share Posted July 26, 2021 Holy. Thanks it worked! Iv been trying to fix that all day. Link to comment Share on other sites More sharing options...
btc Posted July 26, 2021 Share Posted July 26, 2021 21 minutes ago, Fizzy said: bool CAimbotGlobal::IsKeyDown() { return !Vars::Aimbot::Global::AimKey.m_Var ? true : (GetAsyncKeyState(Vars::Aimbot::Global::AimKey.m_Var) & 0x8000); }   0x8000 is the realtime state of the key, so it doesn't constantly lock on to a target after you let go of the button I got this code snippet from unknowncheats somewhere.  wtf stop stealing my work men Link to comment Share on other sites More sharing options...
Reny Sevnta Posted July 26, 2021 Author Share Posted July 26, 2021 🤨 - but fizzy didnt? Just found it on unknowncheats Link to comment Share on other sites More sharing options...
Fizzy Posted July 26, 2021 Share Posted July 26, 2021 1 hour ago, btc said:  wtf stop stealing my work men lmfao Link to comment Share on other sites More sharing options...
Fizzy Posted July 26, 2021 Share Posted July 26, 2021 Link to comment Share on other sites More sharing options...
Recommended Posts