
25.07.2018, 00:03
|
|
Участник форума
Регистрация: 02.06.2014
Сообщений: 177
С нами:
6287237
Репутация:
108
|
|
хотел попробовать написать аммохак
в чем проблема? не работает
Код:
Код:
void OnTimer(HWND hwnd, UINT msg, UINT idTimer, DWORD dwTime)
{
if (GetAsyncKeyState(0x2E) & 0x8000) //если нажал на delete
{
DWORD CPED = *(DWORD*)0xB6F5F0; //CPed
DWORD CWeaponSlot = *(DWORD*)(CPED + 0x0718); //CPed.m_cWeaponSlot
DWORD CWeaponSlot1 = *(DWORD*)(CWeaponSlot * 0x1C);
DWORD CWeaponSlots = *(DWORD*)(CPED + 0x5A0); //CPed.m_aclWeaponSlots
DWORD CWeaponState = *(DWORD*)(CWeaponSlots + CWeaponSlot1);
*(DWORD*)(CWeaponState + 0xC) += 40;
}
}
|
|
|