diff options
author | erorcun <erayorcunus@gmail.com> | 2020-01-07 15:23:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 15:23:09 +0100 |
commit | f9316d9cc3cfb748366758c41cf02634b6df9a08 (patch) | |
tree | cb7dafc76cb2966ac86d908fd5d99c3b7c164cf0 /src/peds/PlayerPed.h | |
parent | Merge pull request #285 from Nick007J/script_dev (diff) | |
download | re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.gz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.bz2 re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.lz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.xz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.zst re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.zip |
Diffstat (limited to 'src/peds/PlayerPed.h')
-rw-r--r-- | src/peds/PlayerPed.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h index 6a794d41..5725a8ee 100644 --- a/src/peds/PlayerPed.h +++ b/src/peds/PlayerPed.h @@ -2,6 +2,7 @@ #include "Ped.h" #include "Wanted.h" +#include "Pad.h" class CPlayerPed : public CPed { @@ -12,13 +13,13 @@ public: float m_fCurrentStamina; float m_fMaxStamina; float m_fStaminaProgress; - uint8 m_nSelectedWepSlot; + uint8 m_nSelectedWepSlot; // eWeaponType bool m_bSpeedTimerFlag; bool m_bShouldEvade; int8 field_1367; int32 m_nSpeedTimer; int32 m_nShotDelay; - float field_1376; // m_fAttackButtonCounter? + float field_1376; // m_fAttackButtonCounter? int8 field_1380; // bHaveTargetSelected? int8 field_1381; int8 field_1382; @@ -56,6 +57,16 @@ public: void UseSprintEnergy(void); class CPlayerInfo *GetPlayerInfoForThisPlayerPed(); void SetRealMoveAnim(void); + void RestoreSprintEnergy(float); + bool DoWeaponSmoothSpray(void); + void DoStuffToGoOnFire(void); + bool DoesTargetHaveToBeBroken(CVector, CWeapon*); + void RunningLand(CPad*); + bool IsThisPedAttackingPlayer(CPed*); + void PlayerControlSniper(CPad*); + void PlayerControlM16(CPad*); + void PlayerControlFighter(CPad*); + void ProcessWeaponSwitch(CPad*); void MakeObjectTargettable(int32); static void SetupPlayerPed(int32); |