mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Match GameSetPlayerWeaponSkillLevel(...)
This commit is contained in:
parent
414629e296
commit
0c52dc8cdd
@ -158,10 +158,10 @@ CAMERA_AIM * __stdcall GameGetRemotePlayerAim(int iPlayer)
|
|||||||
|
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
|
|
||||||
void __stdcall GameSetPlayerWeaponSkillLevel(int iPlayer, int iSkill, float fLevel)
|
void __stdcall GameSetPlayerWeaponSkillLevel(int iPlayer, int iSkill, WORD wLevel)
|
||||||
{
|
{
|
||||||
if(iSkill < 11 && iPlayer < PLAYER_PED_SLOTS) {
|
if(iSkill < 11 && iPlayer < PLAYER_PED_SLOTS) {
|
||||||
fWeaponSkill[iPlayer][iSkill] = fLevel;
|
fWeaponSkill[iPlayer][iSkill] = (float)wLevel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,8 @@ void __stdcall GameSetRemotePlayerCameraExtZoom(BYTE bytePlayerID);
|
|||||||
float __stdcall GameGetLocalPlayerCameraExtZoom();
|
float __stdcall GameGetLocalPlayerCameraExtZoom();
|
||||||
float __stdcall GameGetLocalPlayerAspectRatio();
|
float __stdcall GameGetLocalPlayerAspectRatio();
|
||||||
|
|
||||||
void __stdcall GameSetPlayerWeaponSkillLevel(int iPlayer, int iSkill, float fLevel);
|
|
||||||
void __stdcall GameSetLocalPlayerWeaponSkillLevel(int iSkill, float fLevel);
|
void __stdcall GameSetLocalPlayerWeaponSkillLevel(int iSkill, float fLevel);
|
||||||
|
void __stdcall GameSetPlayerWeaponSkillLevel(int iPlayer, int iSkill, WORD wLevel);
|
||||||
void __stdcall GameStoreLocalPlayerWeaponSkills();
|
void __stdcall GameStoreLocalPlayerWeaponSkills();
|
||||||
void __stdcall GameSetLocalPlayerWeaponSkills();
|
void __stdcall GameSetLocalPlayerWeaponSkills();
|
||||||
void __stdcall GameResetLocalPlayerWeaponSkills();
|
void __stdcall GameResetLocalPlayerWeaponSkills();
|
||||||
|
Loading…
Reference in New Issue
Block a user