SA-MP Forums Archive
Anti bullets - 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: Anti bullets (/showthread.php?tid=64447)



Anti bullets - Schock - 04.02.2009

hi guys i want a anti bullet system that check every maybe 3 seconds all players and kick them if they have bullets
but not if they are in 4 specific virtual worlds
can someone help me?



Re: Anti bullets - harrold - 04.02.2009

Check the world of all players or in OnPlayerUpdate
Then check the ammo of ALLL weapons with GetPlayerWeaponData
that kick or ban it if thay have