Question about code

Posts 110 of 10 · Page 1 of 1
Question about code
can somebody tell me if these are the way this is done is right ?


#define reload 0x2420

int CH_reload = 1;

pMenu->AddItem("No Reload", &CH_reload , opt_OffOn);
Change the int to 100 I think.
Quote Originally Posted by FueldByRamen View Post
Change the int to 100 I think.
nvm o.o i guess its fine >.< i just dunno for sure :L
these are just the define and the menu codes but my question was if they would be correct >.< i found it out by google ing a bit but yea o.o not sure >.<
It's correct but I've always seen pWeaponMgr.
Quote Originally Posted by FueldByRamen View Post
It's correct but I've always seen pWeaponMgr.
i got my menu this way

Code:
  pMenu->AddGroup("[Weapons]", &CH_weap  , opt_Grp);
  if (CH_weap) {
	  pMenu->AddItem("No spread"	 , &CH_nospread  , opt_OffOn);
	  pMenu->AddItem("No recoil"	 , &CH_norecoil  , opt_OffOn);
	  pMenu->AddItem("No Reload", &CH_reload   , opt_OffOn);
  }
}
Oh. Yeah that looks correct if the addies are. Good job.
Quote Originally Posted by FueldByRamen View Post
Oh. Yeah that looks correct if the addies are. Good job.
Thanks im not sure if the addies are right XD i ripped them from google ing -.-


Im trying OllyDbg atm to find some but i dont quite get it yet.
But i guess il just have to look around and then il get it to make some nice hacks
Get the addies from this section or ask for some help on how to find them yourself. If they came from Google, they are probably wayyyy outdated.
Posts 110 of 10 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?