From c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Sun, 16 Jun 2019 21:39:48 +0300 Subject: CPed fixes and needed functions for further commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: eray orçunus --- src/entities/PlayerPed.h | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'src/entities/PlayerPed.h') diff --git a/src/entities/PlayerPed.h b/src/entities/PlayerPed.h index 35128f46..08892277 100644 --- a/src/entities/PlayerPed.h +++ b/src/entities/PlayerPed.h @@ -5,7 +5,39 @@ class CPlayerPed : public CPed { public: + // All credits goes to DK22Pac // 0x53C - uint8 stuff[180]; + int *m_pWanted; // CWanted * + int *m_pArrestingCop; // CCopPed *m_pArrestingCop; + float m_fMoveSpeed; + float m_fCurrentStamina; + float m_fMaxStamina; + float m_fStaminaProgress; + char m_bWeaponSlot; + uint8 m_bSpeedTimerFlag; + bool m_bShouldEvade; + char field_1367; + uint32 m_nSpeedTimer; + uint32 m_nShotDelay; + float field_1376; + char field_1380; + char field_1381; + char field_1382; + char field_1383; + CEntity *m_pEvadingFrom; + int m_nTargettableObjects[4]; + bool m_bAdrenalineActive; + bool m_bHasLockOnTarget; + char field_1406; + char field_1407; + uint32 m_bAdrenalineTime; + bool m_bCanBeDamaged; + char field_1413; + char field_1414; + char field_1415; + CVector field_1416[6]; + int field_1488[6]; + float field_1512; + float m_fFPSMoveHeading; }; static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error"); -- cgit v1.2.3