[FS] Anti-Illegal Weapons -
Kinetic - 08.04.2008
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~
Re: [FS] Anti-Illegal Weapons -
P1nd3r - 08.04.2008
Nice it resets their weapons, I think it should automatically ban them.
Re: [FS] Anti-Illegal Weapons -
Kinetic - 08.04.2008
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.
Re: [FS] Anti-Illegal Weapons -
Toribio - 08.04.2008
Replace
pawn Код:
weaponchecktimer = SetTimer("Weaponchecktimer", 5000, 1);
To:
pawn Код:
weaponchecktimer = SetTimerEx("Weaponchecktimer", 5000, 1, "i", playerid);
Nice
Re: [FS] Anti-Illegal Weapons -
Kinetic - 08.04.2008
It works perfect the way it is...
Why fix whats not broken?
Re: [FS] Anti-Illegal Weapons -
dacads - 08.04.2008
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
Re: [FS] Anti-Illegal Weapons -
Kinetic - 08.04.2008
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.
Re: [FS] Anti-Illegal Weapons -
[SMB]Bip - 08.04.2008
Great
Re: [FS] Anti-Illegal Weapons -
PinkFloydLover - 09.04.2008
yeah this is good
Re: [FS] Anti-Illegal Weapons - Double-O-Seven - 08.01.2010
Sorry, but this is really terrible... I looked at the source code...