Gun Skill & Drive-by Weapons - 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: Gun Skill & Drive-by Weapons (
/showthread.php?tid=397637)
Gun Skill & Drive-by Weapons -
Will77 - 06.12.2012
Hey guys, so I have 2 issues Im trying to figure how to change.
Firstly, if you're holding a weapon like the mac, you have max gun skill, which makes you have 2 weapons. How may I limit it to only 1 gun?
Secondly, if you have a weapon like an AK (A mac works) your weapon gets set back to your fist making drive-by's dreadful. How may I change this?
Re: Gun Skill & Drive-by Weapons -
PlayLSX_Founder - 06.12.2012
Look around the forums and the wiki..
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Re: Gun Skill & Drive-by Weapons -
Will77 - 06.12.2012
Mmk. Gonna do the setplayerskilllevel in the morning, tired. Just needa figure out how to get the AK and what not available. Pretty much only need to disable like 2 guns.
Re: Gun Skill & Drive-by Weapons -
PlayLSX_Founder - 07.12.2012
As far as I am aware, that is hard-coded into SA-MP only recently. You should be able to use AK's etc. in vehicles if you change to it as you are getting into the vehicle. Maybe it is a bug.. although I haven't been around SA-MP for a while I seem to recall a function being added to let you do such a thing, I am not sure.