SA-MP Forums Archive
Help Here. - 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: Help Here. (/showthread.php?tid=253490)



Help Here. - Alex_Obando - 06.05.2011

Hello,

I ALREADY have the strock of SendClientMessageToAdmins, So I need something to check the player of how many weapons he have, so If he have rocket luncher warn the admins.

And If the player has at least 5 weapons warn the admins as well.


Re: Help Here. - park4bmx - 06.05.2011

Do Like
GetPlayerWeapon so u can get what weapon u want then if the player has the weapon just make it so it's sens a message to admins (sorry cant show u because I'm on my phoneЈ

LIKE: https://sampwiki.blast.hk/wiki/GetPlayerWeapon


Re: Help Here. - Vince - 06.05.2011

GetPlayerWeaponData. Use the for-loop like displayed on the wiki. Add in an additional counter as well to check the amount of weapons the player currently has.