Im trying ... (anti-wep) .. and I fail >.< - 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: Im trying ... (anti-wep) .. and I fail >.< (
/showthread.php?tid=71207)
Re: Im trying ... (anti-wep) .. and I fail >.< -
90NINE - 02.04.2009
Try this:
http://pastebin.com/m72ac9052
You'll be able to define the disallowed weapons and check ALL of their weapons, not just the one they're holding. It also runs once every 5 seconds instead of 20 times per second (OnPlayerUpdate).
It should work, although I didn't test it.