Hotkey

Posts 1–5 of 5 · Page 1 of 1
Hotkey
hey guyz ,
i had little problem with NoReload ! hotkeys !
No effect inside game i just hear BEEP !
not for CFNA <==
Code:
int Reload = 0;
 if(GetAsyncKeyState(VK_F2)&1) {
		 Beep(1000,500);
			Reload= !Reload;
		}
 if (Reload = 1){
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 1.0f;
			}
		}
	}
 }
 else
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 99.0f;
			}
		}
	}
use bools,

Code:
bool Reload = false;
 if(GetAsyncKeyState(VK_F2)&1) {
		 Beep(1000,500);
			Reload= !Reload;
		}
 if (Reload){
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 99.0f;
			}
		}
	}
 }
 else
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 1.0f;
			}
		}
	}
Quote Originally Posted by Ryuzaki2 View Post
use bools,

Code:
bool Reload = false;
 if(GetAsyncKeyState(VK_F2)&1) {
		 Beep(1000,500);
			Reload= !Reload;
		}
 if (Reload){
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 99.0f;
			}
		}
	}
 }
 else
	if (pWeaponMgr){ 
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + noreload) = 1.0f;
			}
		}
	}
not work ..
Quote Originally Posted by Trader_6939 View Post
not work ..
Not sure maybe somewhere in your code is wrong
wrong offset!
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us