max player 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: max player weapons (
/showthread.php?tid=167561)
max player weapons -
Haris Hadzic - 12.08.2010
I was wondering is there any way to set player max weapons. If you dont exacly understand what I mean here is the explanation. Can you set that the max weapons that player is carring with himself is 3. Example that player only can carry gun, smg, and bomb... And if he try to take more weapon he'll have to throw something of those
Re: max player weapons -
ikey07 - 12.08.2010
Yeah, use GetPlayerWeaponData
Re: max player weapons -
Haris Hadzic - 12.08.2010
can you set me some code cause i dont understan it very good, right now I'm watching it on samp wiki and i have no idea how to set it on max carring weapon number 3.

help pls...