SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 18/05/2010, 07:36 PM   #1
MastahServers
Big Clucker
 
Join Date: Mar 2010
Posts: 101
Reputation: 0
Default [LOCK] Banning innocent people!

Lock, this script seems to be innocent people.
MastahServers is offline  
Old 18/05/2010, 07:42 PM   #2
Jochemd
High-roller
 
Jochemd's Avatar
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 2,220
Reputation: 844
Default Re: [TUT] How to make a simple anti-weapon cheat!

if(GetPlayerWeapon(killerid) == 3 isn't it? You forgot the 'if'
__________________
Jochemd is offline  
Old 18/05/2010, 07:43 PM   #3
Jay.
High-roller
 
Join Date: Nov 2009
Location: UK
Posts: 1,121
Reputation: 47
Default Re: [TUT] How to make a simple anti-weapon cheat!

What if a admin had a minigun and he killed someone with it?


He would get banned.
Jay. is offline  
Old 18/05/2010, 07:45 PM   #4
Jochemd
High-roller
 
Jochemd's Avatar
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 2,220
Reputation: 844
Default Re: [TUT] How to make a simple anti-weapon cheat!

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
__________________
Jochemd is offline  
Old 18/05/2010, 07:47 PM   #5
Jay.
High-roller
 
Join Date: Nov 2009
Location: UK
Posts: 1,121
Reputation: 47
Default Re: [TUT] How to make a simple anti-weapon cheat!

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.
Jay. is offline  
Old 18/05/2010, 07:49 PM   #6
CJ101
High-roller
 
CJ101's Avatar
 
Join Date: Jan 2008
Location: RevolutionX
Posts: 1,758
Reputation: 162
Default Re: [TUT] How to make a simple anti-weapon cheat!

This is ok, but a Anti-Cheat that stores the weapons of a player is much better.
__________________
I have left SA-MP. Thanks for a great ten years.
CJ101 is offline  
Old 18/05/2010, 07:52 PM   #7
Jefff
Banned
 
Join Date: Dec 2007
Posts: 2,593
Reputation: 326
Default Re: [TUT] How to make a simple anti-weapon cheat!

nvmd
Jefff is offline  
Old 18/05/2010, 07:53 PM   #8
ViruZZzZ_ChiLLL
High-roller
 
ViruZZzZ_ChiLLL's Avatar
 
Join Date: Aug 2009
Location: I don't know
Posts: 1,645
Reputation: 8
Default Re: [TUT] How to make a simple anti-weapon cheat!

Hmmm.. Nice tutorial on this
and the subject title fits in
__________________


ViruZZzZ_ChiLLL is offline  
Old 18/05/2010, 08:10 PM   #9
MastahServers
Big Clucker
 
Join Date: Mar 2010
Posts: 101
Reputation: 0
Default Re: [TUT] How to make a simple anti-weapon cheat!

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
MastahServers is offline  
Old 18/05/2010, 08:21 PM   #10
leapfish
Huge Clucker
 
Join Date: Jan 2010
Posts: 216
Reputation: 0
Default Re: [TUT] How to make a simple anti-weapon cheat!

Why not to use:
if(reason == 3
leapfish is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] Hackers banning people from my server... juuleman Help Archive 1 06/04/2010 03:43 PM
[SOLVED]anti hack banning sometimes people that join the server ;s `FuTuRe- Help Archive 16 06/02/2010 09:50 PM
Range Banning! Help please. introzen Help Archive 11 06/01/2010 04:45 PM
About range banning mooman Server Support 12 29/11/2009 03:38 PM


All times are GMT. The time now is 07:36 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.