mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CPlayerPed::SetWeaponSkillLevel(...)
This commit is contained in:
parent
d649636a6d
commit
1f056cb93a
@ -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);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -102,6 +102,8 @@ public:
|
||||
PCHAR GetShopName();
|
||||
void SetShopName(char *szNewShopName);
|
||||
|
||||
void SetWeaponSkillLevel(int iSkill, float fLevel);
|
||||
|
||||
|
||||
//char _gap0[813];
|
||||
//char _gap0[741];
|
||||
|
Loading…
Reference in New Issue
Block a user