feat(CPed): Added some properties

- m_hostility
- m_bike_seatbelt
- m_vehicle_seatbelt
This commit is contained in:
Yimura 2021-09-21 16:12:20 +02:00
parent 8c32e33757
commit 33c551933d

12
CPed.h
View File

@ -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);
static_assert(sizeof(CPed) == 0x14E4);