SA-MP Forums Archive
Ability to make weapons Semi-Automatic? - 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: Ability to make weapons Semi-Automatic? (/showthread.php?tid=489157)



Ability to make weapons Semi-Automatic? - Legit X ionz - 21.01.2014

Hello,

I am rather seasoned in this forum and I have been able to somewhat teach myself the basics of Pawno. I play on RP servers all over SAMP and I was wondering if there is ever a way to change some clientside things. I know that in some servers that make it so duel-wielding weapons like the UZI and TEC-9 have been made to only one hand. I think that's awesome and I was wondering if there is anyway to change the weapons from fully automatic (continous fire) to Semi-Automatic (every mouse click = one bullet fired).

I have never seen this in any SAMP servers and I was just curious to see if this could actually be possible to script?


Thank you for your time!


Re: Ability to make weapons Semi-Automatic? - Rifa4life - 21.01.2014

What you described with wielding weapons is just SetPlayerWeaponSkill. You cant change the rate of fire.


Re: Ability to make weapons Semi-Automatic? - Legit X ionz - 21.01.2014

Quote:
Originally Posted by Rifa4life
Посмотреть сообщение
What you described with wielding weapons is just SetPlayerWeaponSkill. You cant change the rate of fire.
Oh alright, thanks for the information!


Re: Ability to make weapons Semi-Automatic? - Rifa4life - 30.07.2014

If you are still interested, then you now might be able to manipulate the rate of fire by using the functions provided in the Emmet_'s include file. Let me know if you still need it.