SA-MP Forums Archive
SetPlayerSkillLevel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerSkillLevel (/showthread.php?tid=339782)



SetPlayerSkillLevel - Mark_Weston - 05.05.2012

Hello SA-MP

I am trying to change this god damn skill level,
Its Pissing me off when a cop is holding a gun with one hand.
What is the correct skill level so I can hold a gun with two hands?
The corrent one: SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 99;

I tried // it but then the cop was duling it lol.


Thanks for your time and help


Re: SetPlayerSkillLevel - Revo - 05.05.2012

https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
https://sampwiki.blast.hk/wiki/Skillweapons

I think you need use the values given in wiki/Skillweapons
That's what I did to get it working anyways.
pawn Код:
SetPlayerSkillLevel(playerid, 1, 999);



Re: SetPlayerSkillLevel - Mark_Weston - 05.05.2012

Quote:
Originally Posted by BuuGhost
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
https://sampwiki.blast.hk/wiki/Skillweapons

I think you need use the values given in wiki/Skillweapons
That's what I did to get it working anyways.
pawn Код:
SetPlayerSkillLevel(playerid, 1, 999);
Thanks +rped.


Re: SetPlayerSkillLevel - MP2 - 05.05.2012

999 will be full skill (dual wielded) and 1 will be low skill (single wielded).