[saco] Implement/match CPlayerPed::SetWeaponSkillLevel(...)

This commit is contained in:
RD42 2024-10-28 20:02:55 +08:00
parent d649636a6d
commit 1f056cb93a
2 changed files with 12 additions and 0 deletions

View File

@ -1075,3 +1075,13 @@ void CPlayerPed::SetShopName(char *szNewShopName)
//-----------------------------------------------------------
void CPlayerPed::SetWeaponSkillLevel(int iSkill, float fLevel)
{
if(m_bytePlayerNumber == 0)
GameSetLocalPlayerWeaponSkillLevel(iSkill, fLevel);
else
GameSetPlayerWeaponSkillLevel(m_bytePlayerNumber, iSkill, fLevel);
}
//-----------------------------------------------------------

View File

@ -102,6 +102,8 @@ public:
PCHAR GetShopName();
void SetShopName(char *szNewShopName);
void SetWeaponSkillLevel(int iSkill, float fLevel);
//char _gap0[813];
//char _gap0[741];