Weapon skill? - 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: Weapon skill? (
/showthread.php?tid=347188)
Weapon skill? -
cod5devious - 31.05.2012
How can I make so it like
you get a kill with weapon then you get + 2 weapon skill?
Re: Weapon skill? -
kaisersouse - 31.05.2012
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
You'll put the code in OnPlayerDeath
You'll need to check the death reason, and if it matches any of the skills in the link above, set that skill +2;