SA-MP Forums Archive
GetPlayerWeaponData help - 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: GetPlayerWeaponData help (/showthread.php?tid=458967)



GetPlayerWeaponData help - UnAngel - 19.08.2013

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
i know that need to use GetPlayerWeaponData but i dont understan how can someone set me some code


Re: GetPlayerWeaponData help - Edix - 19.08.2013

You should be able to limit the weapons by using this: https://sampwiki.blast.hk/wiki/GetPlayerWeaponData

If you have more questions about it then ask


Re: GetPlayerWeaponData help - UnAngel - 19.08.2013

i know but how i want to do that if you have 3 weapons on you its send you a massage that you can't have more weapon


Re: GetPlayerWeaponData help - UnAngel - 21.08.2013

Bump...


Re: GetPlayerWeaponData help - Edix - 21.08.2013

make a loop using this inside of it to check if a player uses more then 3 slots.
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData