diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index 58fdc87..b5b4263 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -2214,3 +2214,11 @@ void CPlayerPed::FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone) FUNC_100AEB10(pMatrix, iFrame); } //----------------------------------------------------------- + +int CPlayerPed::FUNC_100AD9C0() +{ + if(!m_pPed) return -1; + + return FUNC_100B4100(m_pPed->entity.nModelIndex); +} +//----------------------------------------------------------- diff --git a/saco/game/playerped.h b/saco/game/playerped.h index 46ac837..d08ceb0 100644 --- a/saco/game/playerped.h +++ b/saco/game/playerped.h @@ -226,6 +226,8 @@ public: void FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC10 void FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC50 + int FUNC_100AD9C0(); // .text:100AD9C0 + int m_iCellPhoneEnabled; int field_4C[10]; struc_97 field_74[10]; diff --git a/saco/game/util.h b/saco/game/util.h index 0a9dcdc..2beb232 100644 --- a/saco/game/util.h +++ b/saco/game/util.h @@ -115,6 +115,7 @@ void FUNC_100B6A80(float *pQuat, MATRIX4X4 *pMatrix); // .text:100B6A80 void __stdcall FUNC_100B6900(VECTOR *pFront, VECTOR *pOut); // .text:100B6900 void FUNC_100B5470(float *pQuat, MATRIX4X4 *pMatrix); // .text:100B5470 void FUNC_100B5500(float *pQuat); // .text:100B5500 +int FUNC_100B4100(int iModel); // .text:100B4100 void FUNC_100B5210(int a1, void *a2); // .text:100B5210, __cdecl: the caller's // stack cleanup is folded into the next call's argument setup