AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Anti Sven Coop Drop Plugin [Version 3] (https://forums.alliedmods.net/showthread.php?t=49308)

LeGone 01-01-2007 08:26

Anti Sven Coop Drop Plugin [Version 3]
 
1 Attachment(s)
This plugin is against the Bugs with dropping Weapons in #5. Thats the bug who any player can drop unlimited Snarks, or Stachels(can also crash server).
Simple Plugin, player cannot drop that 4 weapons anymore, so there is no bug anymore :P
Plugin is for Svencoop

amx_candrophandgrenade | Default 1
amx_candroptripmine | Default 1
amx_candropsnarks | Default 0
amx_candropsatchels | Default 1
amx_cannotdroptext | Default [ASCDP] Sorry, you canīt drop this weapon.
amx_cannotdropwaittime | Default 150

amx_cannotdropwaittime is the time a player have to wait for drop something after selecting a weapon, that will stop the 2second bug
"weapon_snark;drop" ;)
If you want to change, you can change it, but ... that are NOT seconds !

This is my first plugin

Version 3
bugs fixed

neogeo 01-01-2007 08:49

Re: Anti Snark Bug
 
thanks :D

LeGone 01-01-2007 12:41

Re: Anti Sven Coop Drop Plugin
 
thx, but the plugin is a simple weapon drop restrict ^^
and itīs not tested

allenwr 01-01-2007 13:36

Re: Anti Sven Coop Drop Plugin
 
instead of stoping it completely, i recommend that you limit it to droping it once or so.

LeGone 01-01-2007 17:06

Re: Anti Sven Coop Drop Plugin
 
But that will not stop the snark bug, thats only a little Plugin, hope someone can rewrite it ^^

Skyrider 01-03-2007 14:22

Re: Anti Sven Coop Drop Plugin
 
Nice! thanks for this. I have been waiting for such plugin. Many people are using the glitches / bugs on my server. + karma for you :).

LeGone 01-03-2007 14:54

Re: Anti Sven Coop Drop Plugin
 
you tested it ? (thx for karma^^)

Trent-Resnor 01-04-2007 13:44

Re: Anti Sven Coop Drop Plugin
 
Not bad, didn't know that snark bug could crash the little sven servers :P

Anywho, you do know you can pull the same glitch with all weapons right? for instance the rpg... You shoot the last one and drop it at the same time. pick it up you got 1 more.

EDIT: +1 Karma for trying...

VEN 01-04-2007 14:33

Re: Anti Sven Coop Drop Plugin
 
You should:
1. Fix the warning.

2. Use PCvar system, more info: http://wiki.amxmodx.org/index.php/AM...#CVAR_Pointers

Also i'd recommend to not hardcode the weapon indexes. This is from the HLSDK:
Code:
#define WEAPON_HANDGRENADE              12 #define WEAPON_TRIPMINE                 13 #define WEAPON_SATCHEL                  14 #define WEAPON_SNARK                    15

LeGone 01-04-2007 17:58

Re: Anti Sven Coop Drop Plugin
 
updated code, is it ok now ?
(your link is wrong:( )


All times are GMT -4. The time now is 20:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.