Big CPed update

Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
eray orçunus
2019-06-20 14:22:44 +03:00
parent 109cde810c
commit 7cfff963f7
12 changed files with 636 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
#include "common.h"
#include "patcher.h"
#include "WeaponInfo.h"
CWeaponInfo (&CWeaponInfo::ms_apWeaponInfos)[14] = * (CWeaponInfo(*)[14]) * (uintptr*)0x6503EC;
CWeaponInfo*
CWeaponInfo::GetWeaponInfo(eWeaponType weaponType) {
return &CWeaponInfo::ms_apWeaponInfos[weaponType];
}
STARTPATCHES
InjectHook(0x564FD0, &CWeaponInfo::GetWeaponInfo, PATCH_JUMP);
ENDPATCHES