Raised This Month: $51 Target: $400
 12% 

Nade Spam Prevention


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Plugin ID:
643
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents players from buying any more than their first set of grenades.
    Old 11-23-2008 , 19:17   Nade Spam Prevention
    Reply With Quote #1

    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (nadespam.sp - 2233 views - 2.2 KB)
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 11-23-2008 , 20:32   Re: Nade Spam Prevention
    Reply With Quote #2

    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.
    thetwistedpanda is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 11-24-2008 , 03:06   Re: Nade Spam Prevention
    Reply With Quote #3

    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.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    Busterbadboy
    Junior Member
    Join Date: Apr 2007
    Old 09-08-2009 , 09:52   Re: Nade Spam Prevention
    Reply With Quote #4

    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!

    Last edited by Busterbadboy; 09-08-2009 at 10:10.
    Busterbadboy is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 09-08-2009 , 10:46   Re: Nade Spam Prevention
    Reply With Quote #5

    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.

    Last edited by thetwistedpanda; 09-08-2009 at 11:25.
    thetwistedpanda is offline
    motto
    Member
    Join Date: Aug 2009
    Location: Poland
    Old 11-01-2009 , 13:02   Re: Nade Spam Prevention
    Reply With Quote #6

    Quote:
    Originally Posted by Busterbadboy View Post
    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.
    motto is offline
    nrlax007
    New Member
    Join Date: Dec 2009
    Old 12-10-2009 , 20:01   Re: Nade Spam Prevention
    Reply With Quote #7

    i drop the smx file into the plugins folder and once the server is restarted nothing happens?
    nrlax007 is offline
    pubhero
    Veteran Member
    Join Date: Aug 2012
    Location: Central Europe
    Old 12-22-2012 , 01:44   Re: Nade Spam Prevention
    Reply With Quote #8

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

    Last edited by pubhero; 12-22-2012 at 01:59.
    pubhero is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


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


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