SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 11/08/2009, 04:52 PM   #1
BP13
High-roller
 
BP13's Avatar
 
Join Date: Jan 2009
Location: Canada
Posts: 2,098
Reputation: 3
Default Anti Weapon Hack.

is there a standalone antiweapon hack .inc anywhere I searched but found none.
__________________
BP13 is offline  
Old 11/08/2009, 06:38 PM   #2
Memoryz
Gangsta
 
Join Date: Dec 2008
Location: Canada
Posts: 694
Reputation: 14
Default Re: Anti Weapon Hack.

Just get Junkbuster, but disable the health,teleport, and other features.
__________________

Memorywipe - Head of Development
Memoryz is offline  
Old 11/08/2009, 07:34 PM   #3
Burridge
High-roller
 
Join Date: Nov 2008
Location: Somerset, England
Posts: 2,030
Reputation: 16
Default Re: Anti Weapon Hack.

Or, make your own. It's not hard to set a timer or two, and get the timer to search the players weapons, if they have a bad weapon, it will ban them. Simple to make.
Burridge is offline  
Old 11/08/2009, 07:54 PM   #4
BP13
High-roller
 
BP13's Avatar
 
Join Date: Jan 2009
Location: Canada
Posts: 2,098
Reputation: 3
Default Re: Anti Weapon Hack.

Quote:
Originally Posted by Memoryz
Just get Junkbuster, but disable the health,teleport, and other features.
JunkBuster antiweapon hack 100% failed for me.


and I have no idea how to script one myself
__________________
BP13 is offline  
Old 11/08/2009, 09:05 PM   #5
iMonk3y
Banned
 
Join Date: Oct 2008
Location: Asylum
Posts: 323
Reputation: 47
Default Re: Anti Weapon Hack.

I've made a code for you, just put it in some timer and thats it.

pawn Code:
new WeaponData[13][2], str[128];
for(new i = 0; i < MAX_PLAYERS; i++) {
  for(new a = 0; a < 13; a++) {
    GetPlayerWeaponData(i, a, WeaponData[a][0], WeaponData[a][1]);
    if(WeaponData[a][0] == 39 || WeaponData[a][0] == 38 || WeaponData[a][0] == 38 || WeaponData[a][0] == 37 || WeaponData[a][0] == 36 || WeaponData[a][0] == 35 || WeaponData[a][0] == 41 || WeaponData[a][0] == 42 || WeaponData[a][0] == 43 || WeaponData[a][0] == 44 || WeaponData[a][0] == 45){
      format(str,128,"* %s has been banned from the server: Weaponhacks",PlayerName(i));
      SendClientMessageToALL(COLOR, str);
      Ban(i);
    }
  }
}

Code:
stock PlayerName(playerid) {

  new Name[MAX_PLAYER_NAME];
  GetPlayerName(playerid, Name, sizeof(Name));
  return Name;
}
iMonk3y is offline  
Old 11/08/2009, 10:30 PM   #6
BP13
High-roller
 
BP13's Avatar
 
Join Date: Jan 2009
Location: Canada
Posts: 2,098
Reputation: 3
Default Re: Anti Weapon Hack.

Code:
Quote:
Originally Posted by ιMσик3у
I've made a code for you, just put it in some timer and thats it.
pawn Code:
new WeaponData[13][2], str[128];for(new i = 0; i < MAX_PLAYERS; i++) {  for(new a = 0; a < 13; a++) {    GetPlayerWeaponData(i, a, WeaponData[a][0], WeaponData[a][1]);    if(WeaponData[a][0] == 39 || WeaponData[a][0] == 38 || WeaponData[a][0] == 38 || WeaponData[a][0] == 37 || WeaponData[a][0] == 36 || WeaponData[a][0] == 35 || WeaponData[a][0] == 41 || WeaponData[a][0] == 42 || WeaponData[a][0] == 43 || WeaponData[a][0] == 44 || WeaponData[a][0] == 45){      format(str,128,"* %s has been banned from the server: Weaponhacks",PlayerName(i));      SendClientMessageToALL(COLOR, str);      Ban(i);    }  }}
Code:
stock PlayerName(playerid) {

  new Name[MAX_PLAYER_NAME];
  GetPlayerName(playerid, Name, sizeof(Name));
  return Name;
}
how do I configure it with my GivePlayerWeapon from deathmatches and my admin system
__________________
BP13 is offline  
Old 11/08/2009, 10:36 PM   #7
saiberfun
High-roller
 
saiberfun's Avatar
 
Join Date: Nov 2008
Location: Germany
Posts: 3,272
Reputation: 274
Default Re: Anti Weapon Hack.

Code:
Quote:
Originally Posted by [SU
BP13 ] how do I configure it with my GivePlayerWeapon from deathmatches and my admin system
Quote:
Originally Posted by [SU
i don't get what u mean O_O
i guess u should kno how to do that O_O
It's simple
__________________
saiberfun is online now  
Old 11/08/2009, 11:08 PM   #8
BP13
High-roller
 
BP13's Avatar
 
Join Date: Jan 2009
Location: Canada
Posts: 2,098
Reputation: 3
Default Re: Anti Weapon Hack.

well I don't. and why should I already know this, I don't speak pawno.
__________________
BP13 is offline  
Old 12/08/2009, 12:27 AM   #9
saiberfun
High-roller
 
saiberfun's Avatar
 
Join Date: Nov 2008
Location: Germany
Posts: 3,272
Reputation: 274
Default Re: Anti Weapon Hack.

Quote:
Originally Posted by [SU
BP13 ]
well I don't. and why should I already know this, I don't speak pawno.
owtf as high roller u don't speak pawno?
wow
well ill maybe do this tomorrow but i gotta gotobed now gotta get up early tomorrow taking to ma lawyer..
__________________
saiberfun is online now  
Old 12/08/2009, 02:51 AM   #10
BP13
High-roller
 
BP13's Avatar
 
Join Date: Jan 2009
Location: Canada
Posts: 2,098
Reputation: 3
Default Re: Anti Weapon Hack.

well I guess you could call me a beginner. I have so much posts because its mainly asking for help.
__________________
BP13 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
[Include] [INC] Anti-Weapon Hack V1ceC1ty Includes 15 23/08/2011 08:31 AM
[Tutorial] [TUT] Anti-weapon hack - Longer/more useful coole210 Tutorials 6 19/05/2010 11:11 PM
Anti weapon hack system 100% working 0.3 kingforyou Help Archive 8 24/03/2010 01:52 PM
Anti weapon hack Perker12345 Help Archive 0 14/02/2010 03:36 PM
Anti weapon hack help Perker12345 Help Archive 2 02/02/2010 08:30 AM


All times are GMT. The time now is 05:51 PM.


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