Simple and Easy Anti-weapon hack script -
Ped_Dep1 - 28.12.2012
Anti-Weapon Hack Filterscript
→
Simple And Easy←
Version 3
Features
Including 5 Forbidden Weapons and Jetpack:
→ Rocket Launcher
→ Minigun
→ Satchel Charges
→ Detonator
→ Thermal ******s
→ Jetpack
Including Anti-Failed Rcon Login *new*
ChangeLog
Quote:
Version 3:
Added Anti-Failed Rcon Login
Version 2:
Added Anti-Jetpack Hack
Added Kicking System
Version 1:
Added 5 Forbidden Weapons
Added Banning System
Simple Script
|
Version 4 coming soon.
Some Questions And Their Answers
Q: Why the Thermal ******s is a forbidden weapon?
A: Because if a hacker uses it, all the players see the thermal.
Q: Are there any bugs in the script?
A: Not found yet.
Q: Can I edit your script? I'll save the credits.
A: No, Don't edit the script. Don't remove the credits
Q: The download link is broken. What should I do?
A: There are 2 links. If they still don't work, I will create another one.
Bugs
Not found yet.
If you find a bug, comment. It will be fixed in the new versions.
Installation
1. Copy
whack.amx and
whack.pwn and paste them into your
Filterscripts folder.
2. Insert "whack" in your server.cfg
3. Script is installed
DOWNLOAD
You're not allowed to edit this script.
V.3 (New): SolidFiles
FileDropper
PasteBin
V.2 (Old):
SolidFiles
TinyUpload
V.1 (Oldest):
SolidFiles
FreeFilesHosting
Other Notes: Version 4 coming soon. The new things added and changed will be written in the Changelog. Feel free to comment and vote
Re: Simple and Easy Anti-weapon hack script -
Djole1337 - 28.12.2012
1) This is not ANTI WEAPON HACK, this just don't let you use these guns.
2) Using OnPlayerUpdate is bad, it gets called too often
3) Learn to use switch()
4) If you gonna script something like that, use OnPlayerKeyStateChange() - No timers/OnPlayerUpdate/lag.
pawn Code:
#define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_FIRE))
{
switch(GetPlayerWeapon(playerid))
{
case 38, 42:
{
Ban(playerid);
}
}
}
return 1;
}
Re: Simple and Easy Anti-weapon hack script -
[WA]iRonan - 28.12.2012
@Mr_DjolE if you cant use the weapons. its anti weapon hack
We only care if it works. Who cares about 1KB extra space or some longer scripts...
Re: Simple and Easy Anti-weapon hack script -
Djole1337 - 28.12.2012
Quote:
Originally Posted by [WA]iRonan
@Mr_DjolE if you cant use the weapons. its anti weapon hack
We only care if it works. Who cares about 1KB extra space or some longer scripts...
|
I care, because his script is a failure.
Re: Simple and Easy Anti-weapon hack script -
Ped_Dep1 - 29.12.2012
Quote:
Originally Posted by Mr_DjolE
1) This is not ANTI WEAPON HACK, this just don't let you use these guns.
2) Using OnPlayerUpdate is bad, it gets called too often
3) Learn to use switch()
4) If you gonna script something like that, use OnPlayerKeyStateChange() - No timers/OnPlayerUpdate/lag.
|
There
is not any script made without bugs.
1. It's my first script. So there may be some bugs.
2. When I tested it, it was working correctly.
3.
Quote:
No bugs found yet. If you find a bug, comment. It will be fixed in the new versions.
|
4. The anti-weapon hacks don't let you to use the forbidden weapons. So it's an anti-weapon hack.
Re: Simple and Easy Anti-weapon hack script -
Ped_Dep1 - 29.12.2012
VERSION 2 RELEASED!
Date: 29.12.2012
You can view the
changelog.
Re: Simple and Easy Anti-weapon hack script -
vMapper - 29.12.2012
Please post a pastebin link, since I'm on my iPad! :P
Re: Simple and Easy Anti-weapon hack script -
Ped_Dep1 - 29.12.2012
Quote:
Originally Posted by vMapper
Please post a pastebin link, since I'm on my iPad! :P
|
Pastebin link updated.
Re: Simple and Easy Anti-weapon hack script -
Ped_Dep1 - 01.01.2013
VERSION 3 RELEASED!
Date: 1.1.2013
You can view the
changelog.
Re: Simple and Easy Anti-weapon hack script -
Mr.Faqahat - 11.01.2013
Good Wory Ped_Dep

Seems like you are doing a parttime job releasing Samp Filter scripts ^^