AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Nade Spam Prevention (https://forums.alliedmods.net/showthread.php?t=80904)

FlyingMongoose 11-23-2008 19:17

Nade Spam Prevention
 
1 Attachment(s)
This plugins prevents players from buying any more nades than their first set of nades in CSS.
CVARS:
  • sm_preventnadespam
    • 0 = Off
    • 1 = On

CHANGELOG:
  • 1.0.0
    • Released

INSTALLATION:
  • Click "Get Plugin" at the bottom of the post and save to your addons\sourcemod\plugins directory

Thank you to SteamFriends for allowing me to test this on their servers.

thetwistedpanda 11-23-2008 20:32

Re: Nade Spam Prevention
 
Awesome plugin, but could I be a bastard and oppose on you a feature request?

A cvar that allows players to pick up grenades that are lying on the ground (i.e. from dead players) and another cvar to limit the number of grenades players are able to pick up and use. The cvar would be to cap players who sit in grenade repositories and throw them.

Quote:

Player buys grenade at spawn --> player uses grenade bought from spawn --> player picks up grenade from dead player --> player uses grenade picked up from dead player --> player can only pick up x amount of grenades lying on the ground.

FlyingMongoose 11-24-2008 03:06

Re: Nade Spam Prevention
 
I don't like handling weapon stripping to be honest, there's some potential issues that can occur from it, but I'll look into implementing that.

Busterbadboy 09-08-2009 09:52

Re: Nade Spam Prevention
 
I tried this plugin and found out if someone presses F2 to auto buy they can buy more nades.

Can this plugin be updated to prevent players from auto-buying more nades?

Thanks!

thetwistedpanda 09-08-2009 10:46

Re: Nade Spam Prevention
 
To expand on your problem, F2 seems to be "Autobuy" or "Rebuy Previous", thereby bypassing the "buy" hooked in this plugin. I couldn't get either of those two commands to hook :(; the only solution I found was to count the nades player picked up, rather then buyed.

motto 11-01-2009 13:02

Re: Nade Spam Prevention
 
Quote:

Originally Posted by Busterbadboy (Post 926719)
I tried this plugin and found out if someone presses F2 to auto buy they can buy more nades.

Can this plugin be updated to prevent players from auto-buying more nades?

Thanks!

find command blocker and block rebuy.

nrlax007 12-10-2009 20:01

Re: Nade Spam Prevention
 
i drop the smx file into the plugins folder and once the server is restarted nothing happens?

pubhero 12-22-2012 01:44

Re: Nade Spam Prevention
 
The plugin works only once, after started. Nevermore. If i unload and load again, works again one times. Anyone can repair this plugin?


All times are GMT -4. The time now is 14:53.

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