SA-MP Forums Archive
Disable two holding 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: Disable two holding weapons (/showthread.php?tid=408132)



Disable two holding weapons - Mikkel_RE - 16.01.2013

Is it possible to disable that you are holding two weapons in the hands? also, if i have a Colt45, Shawn Off, Tec, etc. i want to make that you only have one in the hand.


Re: Disable two holding weapons - CodyCummings - 17.01.2013

pawn Код:
public OnPlayerSpawn(playerid)
{
    for(new i = 0; i < 11; i++) SetPlayerSkillLevel(playerid, i, 1);
    return 1;
}
This will set all weapon skills of every player that spawns to 1, after this they can't have dual wielded weapons like 2 sawed off shotguns.