Get WeaponInfo

Posts 1–3 of 3 · Page 1 of 1
Get WeaponInfo
Code:
DWORD CBot::GetWeaponInfo(DWORD WeaponNum)
{
	static DWORD dwCall = 0x503960;
	static DWORD dwReturn;
	__asm{
		PUSH WeaponNum
		CALL [dwCall]
		mov dwReturn, eax
		ADD ESP,0x4
	}
	return dwReturn;
}
Code:
weaponstruct* wstruct = (weaponstruct*)(GetWeaponInfo(Client->WeapNum));
Credits:
Cardoow
Hello . What are we supposed to do with that ?
Quote Originally Posted by PornFlakesreg View Post
Hello . What are we supposed to do with that ?
add it in ur own c++/c# hack i think so?
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?