❓ C# Get Current Weapon Id How ?
Hello Guys . Im Sorry For My Bad English Leangue .
I Have Current Weapon Id .
Im Using This but not working .
Please Help Me Thanks .
I Have Current Weapon Id .
Im Using This but not working .
Code:
static void Main(string[] args)
{
int EngineBase;
int GameState;
const int mahguy = 0xC6187C; //localplayer 0xA77D3C
const int entity = 0x4C3E194; //entitylist
const int activeWeapon = 0x2EE8; //weaperino handle
const int IweaponID = 0x2DE8;
Console.Clear();
Console.WriteLine("Cylops's AntiFlash Lesson Active!");
Console.WriteLine("---------------------------------");
GetModuleAddress();
while (true)
{
int deeznuts = vam.ReadInt32((IntPtr)clientModule.moduleAddress + mahguy); //player
int weaponIndex = vam.ReadInt32((IntPtr)deeznuts + activeWeapon) & 0xFFF;
int weaponEntity = vam.ReadInt32(((IntPtr)clientModule.moduleAddress + entity + weaponIndex * 0x10) - 0x10);
int weaponID = vam.ReadInt32((IntPtr)weaponEntity + IweaponID);
EngineBase = vam.ReadInt32((IntPtr)engineModule.moduleAddress + 0x588A74);
GameState = vam.ReadInt32((IntPtr)EngineBase + 0x108);
if (GameState == 6)
{
Console.Clear();
Console.WriteLine("Weapon ID : " + weaponID.ToString());
Console.WriteLine("Oyunda");
}
else
{
Console.Clear();
Console.WriteLine("Cylops's AntiFlash Lesson Active!");
Console.WriteLine("---------------------------------");
Console.WriteLine("NOT INGAME!");
}
}
}

