Weapon so Pistol Check

Posts 1–9 of 9 · Page 1 of 1
Weapon so Pistol Check
How to check active weapon pistol? or weapon id get
m_iItemDefinitionIndex
Maybe give example?

So int a = Client + LocalPlayer;
a + m_iItemDefinitionIndex etz
DWORD pWeapon = mem->ReadMem(ClientDLL + dwEntityList + (getWeapEnt() - 1) * 0x10);

int id = mem->ReadMem(pWeapon + m_iItemDefinitionIndex)
What's the? getWeapEnt()
index = Read<int>(player + m_hActiveWeapon) & 0xFFF
pweapon = Read<IntPtr>(m_dwEntityList + (index - 1) * 0x10);
weaponid = Read<int>(pweapon + m_iItemDefinitionIndex);

weapon ids:
Code:
        AK47 = 7,
        AUG = 8,
        AWP = 9,
        C4 = 49,
        CZ75Auto = 63,
        Decoy = 47,
        Default = 0,
        DesertEagle = 1,
        DualBerettas = 2,
        FAMAS = 10,
        FiveSeveN = 3,
        Flashbang = 43,
        G3SG1 = 11,
        GalilAR = 13,
        GGKnife = 59,
        Glock18 = 4,
        HEGrenade = 44,
        Incgrenade = 48,
        Knife = 42,
        KnifeBayonet = 500,
        KnifeBowie = 514,
        KnifeButterfly = 515,
        KnifeFalchion = 512,
        KnifeFlip = 505,
        KnifeGut = 506,
        KnifeHuntsman = 509,
        KnifeKarambit = 507,
        KnifeM9Bayonet = 508,
        KnifePush = 516,
        M4A1S = 60,
        M4A4 = 16,
        M249 = 14,
        MAC10 = 17,
        MAG7 = 27,
        Molotov = 46,
        MP7 = 33,
        MP9 = 34,
        Negev = 28,
        Nova = 35,
        P90 = 19,
        P250 = 36,
        P2000 = 32,
        PPBizon = 26,
        R8Revolver = 64,
        SawedOff = 29,
        SCAR20 = 38,
        SG553 = 39,
        SmokeGrenade = 45,
        SSG08 = 40,
        Taser = 31,
        Tec9 = 30,
        UMP45 = 24,
        USP = 61,
        XM1014 = 25,
thanks for help
Code:
int GetType()
{
	typedef int (__thiscall* GetTypefn)(void*);
	return GetMethod<GetTypefn>(this, 453)(this);
}
I think 5 is a pistol.
Quote Originally Posted by ActualCheats View Post
Code:
int GetType()
{
	typedef int (__thiscall* GetTypefn)(void*);
	return GetMethod<GetTypefn>(this, 453)(this);
}
I think 5 is a pistol.
lol, internals so ez xd
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us