From 33c551933dd4757f92a918358fd54bdef61d08ae Mon Sep 17 00:00:00 2001 From: Yimura Date: Tue, 21 Sep 2021 16:12:20 +0200 Subject: [PATCH] feat(CPed): Added some properties - m_hostility - m_bike_seatbelt - m_vehicle_seatbelt --- CPed.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CPed.h b/CPed.h index ff4e1f4..1a5e36c 100644 --- a/CPed.h +++ b/CPed.h @@ -17,7 +17,9 @@ public: Vector3 m_position; //0x0090 char pad_009C[237]; //0x009C uint8_t m_godmode; //0x0189 - char pad_018A[246]; //0x018A + char pad_018A[2]; //0x018A + uint8_t m_hostility; //0x018C + char pad_018D[243]; //0x018D float m_health; //0x0280 char pad_0284[28]; //0x0284 float m_maxhealth; //0x02A0 @@ -29,9 +31,13 @@ public: class CPlayerInfo *m_player_info; //0x10C8 char pad_10D0[8]; //0x10D0 class CPedWeaponManager *m_weapon_manager; //0x10D8 - char pad_10E0[919]; //0x10E0 + char pad_10E0[812]; //0x10E0 + uint8_t m_bike_seatbelt; //0x140C + char pad_140D[11]; //0x140D + uint8_t m_vehicle_seatbelt; //0x1418 + char pad_1419[94]; //0x1419 uint8_t m_in_vehicle; //0x1477 char pad_1478[104]; //0x1478 float m_armor; //0x14E0 }; //Size: 0x14E4 -static_assert(sizeof(CPed) == 0x14E4); \ No newline at end of file +static_assert(sizeof(CPed) == 0x14E4);