[LOCK] Banning innocent people! - 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: [LOCK] Banning innocent people! (
/showthread.php?tid=148746)
[LOCK] Banning innocent people! -
MastahServers - 18.05.2010
Lock, this script seems to be innocent people.
Re: [TUT] How to make a simple anti-weapon cheat! -
Jochemd - 18.05.2010
if(GetPlayerWeapon(killerid) == 3

isn't it? You forgot the 'if'
Re: [TUT] How to make a simple anti-weapon cheat! -
Jay. - 18.05.2010
What if a admin had a minigun and he killed someone with it?
He would get banned.
Re: [TUT] How to make a simple anti-weapon cheat! -
Jochemd - 18.05.2010
Simply add the anticheat script into the admin script? Then request his level. if(adminlvl == 2) for example?If true, just perform nothing
BTW: A player just can't have weapons on connect. Better make a timer which checks every half second if the player holds an minigun
Re: [TUT] How to make a simple anti-weapon cheat! -
Jay. - 18.05.2010
Quote:
Originally Posted by Jochemd
Simply add the anticheat script into the admin script? Then request his level. if(adminlvl == 2) for example?If true, just perform nothing 
|
Ah ty.
Re: [TUT] How to make a simple anti-weapon cheat! -
CJ101 - 18.05.2010
This is ok, but a Anti-Cheat that stores the weapons of a player is much better.
Re: [TUT] How to make a simple anti-weapon cheat! -
Jefff - 18.05.2010
nvmd
Re: [TUT] How to make a simple anti-weapon cheat! -
ViruZZzZ_ChiLLL - 18.05.2010
Hmmm.. Nice tutorial on this

and the subject title fits in
Re: [TUT] How to make a simple anti-weapon cheat! -
MastahServers - 18.05.2010
Quote:
Originally Posted by Jochemd
if(GetPlayerWeapon(killerid) == 3  isn't it? You forgot the 'if' 
|
Yes, I forgot it :P
Going to edit it now
Re: [TUT] How to make a simple anti-weapon cheat! -
leapfish - 18.05.2010
Why not to use:
if(reason == 3