Disable dual guns - 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: Disable dual guns (
/showthread.php?tid=425130)
Disable dual guns -
Don_Cage - 24.03.2013
Hello, How can I disable so you cant have two guns in hand?
Re: Disable dual guns -
BigGroter - 24.03.2013
SetPlayerSkillLevel(playerid, weaponskill, 1);
Re: Disable dual guns -
Don_Cage - 24.03.2013
Is it no other way?
Re: Disable dual guns -
BigGroter - 24.03.2013
What's wrong with this way?
pawn Код:
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI,1);
Re: Disable dual guns -
MP2 - 24.03.2013
Put this under OnPlayerConnect:
pawn Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 0);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 0);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 0);
Re: Disable dual guns -
Don_Cage - 24.03.2013
Thanks