diff options
author | aap <aap@papnet.eu> | 2019-07-10 11:06:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 11:06:27 +0200 |
commit | 50cc7c7932827229b553cb491f6e6d63a6d5618e (patch) | |
tree | 7ca24b1c40bfa57e24ecaddc9fca7dbc6ce025a0 /src/peds | |
parent | CVehicle::ProcessWheel (diff) | |
parent | fix (diff) | |
download | re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar.gz re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar.bz2 re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar.lz re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar.xz re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.tar.zst re3-50cc7c7932827229b553cb491f6e6d63a6d5618e.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/PlayerPed.cpp | 3 | ||||
-rw-r--r-- | src/peds/PlayerPed.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 43206e08..4b484a7f 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -10,6 +10,9 @@ CPlayerPed::~CPlayerPed() } WRAPPER void CPlayerPed::ReApplyMoveAnims(void) { EAXJMP(0x4F07C0); } +WRAPPER void CPlayerPed::SetupPlayerPed(int32) { EAXJMP(0x4EFB60); } +WRAPPER void CPlayerPed::DeactivatePlayerPed(int32) { EAXJMP(0x4EFC00); } +WRAPPER void CPlayerPed::ReactivatePlayerPed(int32) { EAXJMP(0x4EFC20); } void CPlayerPed::ClearWeaponTarget() { diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h index 8b617a43..51a45203 100644 --- a/src/peds/PlayerPed.h +++ b/src/peds/PlayerPed.h @@ -45,6 +45,10 @@ public: void ClearWeaponTarget(); void SetWantedLevel(int32 level); void SetWantedLevelNoDrop(int32 level); + + static void SetupPlayerPed(int32); + static void DeactivatePlayerPed(int32); + static void ReactivatePlayerPed(int32); }; static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error"); |