mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement/match CPlayerPed::FUNC_100ACE90; the weapon out-parameter is a full int that only its low byte is tested through
This commit is contained in:
1 parent
faee9024b8
commit
27f52e5fbe
2 files changed
+15
No files matched your search
@@ -2171,6 +2171,20 @@ void CPlayerPed::FUNC_100AE1E0()
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::FUNC_100ACE90()
|
||||
{
|
||||
int iWeapon;
|
||||
|
||||
if(!field_2E2) return;
|
||||
if(!m_pPed) return;
|
||||
if(!GamePool_Ped_GetAt(m_dwGTAId)) return;
|
||||
|
||||
ScriptCommand(&get_actor_armed_weapon, m_dwGTAId, &iWeapon);
|
||||
|
||||
if((BYTE)iWeapon) SetArmedWeapon(0, 0);
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone)
|
||||
{
|
||||
int iFrame;
|
||||
|
||||
@@ -217,6 +217,7 @@ public:
|
||||
void FUNC_100AEA80(MATRIX4X4 *pMatrix, int iFrame); // .text:100AEA80
|
||||
void FUNC_100AEB10(MATRIX4X4 *pMatrix, int iFrame); // .text:100AEB10
|
||||
|
||||
void FUNC_100ACE90(); // .text:100ACE90
|
||||
|
||||
void FUNC_100AEC10(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC10
|
||||
void FUNC_100AEC50(MATRIX4X4 *pMatrix, int iBone); // .text:100AEC50
|
||||
|
||||
Reference in new issue
Block a user