Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct UsesItem
- {
- public:
- __int32 QC; //0x0000 1162666438
- __int32 FastReload; //0x0004 1162666438
- char pad_0008[4]; //0x0008
- __int32 HollowPointAmmo; //0x000C 1036834633
- char pad_0010[4]; //0x0010
- __int32 MettalBullet; //0x0014 1045221899
- __int32 MoveSpeed; //0x0018 1050000000
- char pad_001C[4]; //0x001C
- __int32 Health; //0x0020 1036834633
- __int32 Respawn; //0x0024 1162666438
- char pad_0028[12]; //0x0028
- __int32 GrenadeSlot; //0x0034 1065353216
- char pad_0038[264]; //0x0038
- };
- UsesItem* getUsesItem(int index)
- {
- return (UsesItem*)(((DWORD)this + 0xC)+(index * 0x48)+ 0x17EAC);
- }
- if(vartest||varQuickChange||varFastReload||varHollow||varMettalBullet||varMoveSpeed||valHealth||varRespawn||varGrenadeSlot)
- {
- int idx = -1;
- idx = CBattleSlotContext::pCBattleSlotContext()->getMySlotIdx();
- if(idx !=-1)
- {
- UsesItem * ItemUseHack = CBattleSlotContext::pCBattleSlotContext()->getUsesItem(idx);
- if(ItemUseHack)
- {
- if(varQuickChange) ItemUseHack->QC = 1162666438;
- if(varFastReload) ItemUseHack->FastReload = 1162666438;
- if(varHollow) ItemUseHack->HollowPointAmmo = 1036834633;
- if(varMettalBullet) ItemUseHack->MettalBullet = 1045221899;
- if(varMoveSpeed) ItemUseHack->MoveSpeed = 1050000000;
- if(valHealth) ItemUseHack->Health = 1036834633;
- if(varRespawn) ItemUseHack->Respawn = 1162666438;
- if(varGrenadeSlot) ItemUseHack->GrenadeSlot = 1065353216;
- if(vartest) ItemUseHack->HollowPointAmmo = 0x454CE1C6;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment