bool isScoped()
{
if (Player.MyWeaponID == WEAPON_AWP ||
Player.MyWeaponID == WEAPON_SSG08 ||
Player.MyWeaponID == WEAPON_SCAR20 ||
Player.MyWeaponID == WEAPON_G3SG1)
return RM<bool>(Player.Base + 0x388C);
else return true;
}
Hello guys i am looking to costumize a litlebit my trigger bot and i am looking for a way to read in memory if the active weapon is using a zoom
if ( zoomed ) {
code
}
so when i am using the awp no shot will be fired unless i am scoping
thx guys
bool isScoped()
{
if (Player.MyWeaponID == WEAPON_AWP ||
Player.MyWeaponID == WEAPON_SSG08 ||
Player.MyWeaponID == WEAPON_SCAR20 ||
Player.MyWeaponID == WEAPON_G3SG1)
return RM<bool>(Player.Base + 0x388C);
else return true;
}
TheNamless (07-27-2016)
sloved thx all for your help
Last edited by TheNamless; 07-27-2016 at 05:37 PM.
Has been solved.
/Closed.