mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Update CPlayerPed::SetWeaponSkillLevel(...)
This commit is contained in:
parent
218e6b1d53
commit
cf6eec3a3f
@ -1431,12 +1431,12 @@ void CPlayerPed::SetShopName(char *szNewShopName)
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
void CPlayerPed::SetWeaponSkillLevel(int iSkill, float fLevel)
|
void CPlayerPed::SetWeaponSkillLevel(int iSkill, WORD wLevel)
|
||||||
{
|
{
|
||||||
if(m_bytePlayerNumber == 0)
|
if(m_bytePlayerNumber == 0)
|
||||||
GameSetLocalPlayerWeaponSkillLevel(iSkill, fLevel);
|
GameSetLocalPlayerWeaponSkillLevel(iSkill, wLevel);
|
||||||
else
|
else
|
||||||
GameSetPlayerWeaponSkillLevel(m_bytePlayerNumber, iSkill, fLevel);
|
GameSetPlayerWeaponSkillLevel(m_bytePlayerNumber, iSkill, wLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
@ -133,7 +133,7 @@ public:
|
|||||||
PCHAR GetShopName();
|
PCHAR GetShopName();
|
||||||
void SetShopName(char *szNewShopName);
|
void SetShopName(char *szNewShopName);
|
||||||
|
|
||||||
void SetWeaponSkillLevel(int iSkill, float fLevel);
|
void SetWeaponSkillLevel(int iSkill, WORD wLevel);
|
||||||
|
|
||||||
VECTOR* GetBonePosition(int iBone, VECTOR *vecPos);
|
VECTOR* GetBonePosition(int iBone, VECTOR *vecPos);
|
||||||
VECTOR* GetTransformedBonePosition(int iBone, VECTOR *vecOffset);
|
VECTOR* GetTransformedBonePosition(int iBone, VECTOR *vecOffset);
|
||||||
|
Loading…
Reference in New Issue
Block a user