[FilterScript] [FS] Anti-Illegal Weapons
#1

I just came up with this way to prevent people from getting illegal weapons in your game (illegal meaning rocket launchers, miniguns, etc...). Since I think this is a good script, I want to release it to everyone . Enjoy!

Weapons Detected:Katana
Chainsaw
Grenade
Molotov
Jetpack(does not work... sorry)
Sawn-Off Shotgun
Combat Shotgun
Rocket Launcher
Heat Seaking Rocket Launcher
Flame Thrower
Minigun
Satchel Charge
Detonator
Night Vision Goggles
Infared Goggles


Download(UPDATED):
Pwn:http://novastream.pastebin.com/f4505f1ff
Amx:http://novastreamfiles.freehoxt.com/...armorcheck.rar
Pwn+Amx:http://novastreamfiles.freehoxt.com/...armorcheck.rar
Any mirrors are welcome(I probably wont update on the main post)
Leave the credits(lines 14-1 in the script(Doesnt even show up in game, so its no big deal unless your trying to steal my script)

FAQ
Q: Is this compatable with the godfather script?
A: Yes it is! It has worked for my own custom RP script along with a modded version of the godfather that I have created.

Hope this helps all you guys that run RP servers ~KineticNRG~
Reply
#2

Nice it resets their weapons, I think it should automatically ban them.
Reply
#3

I put this in so that it is impossible to hack the weapon... you can always add in "Ban(playerid);" in place of "ResetPlayerWeapons(playerid);" if you want it to ban.
Reply
#4

Replace
pawn Код:
weaponchecktimer = SetTimer("Weaponchecktimer", 5000, 1);
To:
pawn Код:
weaponchecktimer = SetTimerEx("Weaponchecktimer", 5000, 1, "i", playerid);
Nice
Reply
#5

It works perfect the way it is...
Why fix whats not broken?
Reply
#6

Quote:
Originally Posted by Kinetic
I put this in so that it is impossible to hack the weapon... you can always add in "Ban(playerid);" in place of "ResetPlayerWeapons(playerid);" if you want it to ban.
Good idea :P
This could turn into an anti-cheat system
Reply
#7

Yeah, the whole point of it was to be a part of an anti-cheat

I use it so nobody spawns miniguns and goes on rampages while im not online.

I gotta fix a problem with the script first before it works for all players... currently it only works for player 0
UPDATED: I believe it will work now for all players.
Reply
#8

Great
Reply
#9

yeah this is good
Reply
#10

Sorry, but this is really terrible... I looked at the source code...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)