A nooby question. - 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: A nooby question. (
/showthread.php?tid=444548)
A nooby question. -
SilencedPistol - 17.06.2013
This may seem nooby, but how do I make it so my script disallows dual weapons such as dual sawn-offs & Colt .45s?
Is it something to do with SetPlayerSkillLevel?
Re: A nooby question. -
Pottus - 17.06.2013
You can only set those weapons to use one weapon with that function it should be placed in OnPlayerSpawn() if you don't want those weapons don't give them
Re: A nooby question. -
[KHK]Khalid - 17.06.2013
Yes.
pawn Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);