[Source Code] Pistolas automáticas
Code:
DWORD CShell = (DWORD)GetModuleHandleA(cCShell);
DWORD WepMgr = *(DWORD*)(CShell + WeaponMgr);
for(int i = 0; i<999;i++)
{
DWORD Wep = *(DWORD*)(WepMgr + (4*i));
if(Wep && pistols)
{
for(int y = 0; y<6;y++)
{
*(float*)(Wep + 0x??? + (4*y)) = 103.448f;//String: ShotsPerMinute
}
*(int*)(Wep + 0x???) = 2;//String: LeftClickAttributes
}
Pra funcionar, voces precisarão da definição das pistolas.
Lembrando que codigo acima também pode ser utilizado para fazer Fast Knife
Bonus:
Code:
*(int*)(Wep + 0xAF8) = 1;//No Shotgun Reload
*(int*)(Wep + 0x2) = ! ; //! = número de 0 a 9, muda o tipo da arma.