Raised This Month: $32 Target: $400
 8% 

[TF2] Enforcer Restriction


Post New Thread Reply   
 
Thread Tools Display Modes
Author
xDeRpYx
Member
Join Date: May 2012
Location: New York
Plugin ID:
2953
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Removes The Enforcer from use.
    Unapprover:
    Reason for Unapproving:
    Does not use post_inventory_application, Duplicate of existing plugins, Unnecessary.
    Old 05-14-2012 , 23:17   [TF2] Enforcer Restriction
    Reply With Quote #1

    [TF2] Enforcer Restriction

    Description:
    Basically, it disables the ability to equip The Enforcer, also known as the cheapest Spy weapons in TF2 History. So This will Solve your Problems .
    Attached Files
    File Type: sp Get Plugin or Get Source (enforcerrestriction.sp - 907 views - 1.3 KB)

    Last edited by xDeRpYx; 05-14-2012 at 23:25.
    xDeRpYx is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 05-14-2012 , 23:22   Re: [TF2] Enforcer Restriction
    Reply With Quote #2

    If it downloads successfully when you click "Get Plugin" you don't need to attach the smx.

    Also, you don't need to use a repeating timer, you can just hook post_inventory_application and check their primary then.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 05-15-2012 , 00:04   Re: [TF2] Enforcer Restriction
    Reply With Quote #3

    Quote:
    Originally Posted by MasterOfTheXP View Post
    If it downloads successfully when you click "Get Plugin" you don't need to attach the smx.

    Also, you don't need to use a repeating timer, you can just hook post_inventory_application and check their primary then.
    Just use OnGiveNamedItem D:
    __________________
    napalm00 is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 05-15-2012 , 01:02   Re: [TF2] Enforcer Restriction
    Reply With Quote #4

    Quote:
    Originally Posted by napalm00 View Post
    Just use OnGiveNamedItem D:
    You could do that, but that would require TF2Items, and the less extensions required, the better, especially for a simple plugin like this one. Also, sometimes OnGiveNamedItem doesn't fire.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 05-15-2012 , 07:53   Re: [TF2] Enforcer Restriction
    Reply With Quote #5

    And here I thought they'd love and tolerate the enforcer to death. Isn't there a more feature rich plugin that already allows blocking of weapons?
    xomp is offline
    Send a message via Skype™ to xomp
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 05-15-2012 , 09:45   Re: [TF2] Enforcer Restriction
    Reply With Quote #6

    Quote:
    Originally Posted by xomp View Post
    And here I thought they'd love and tolerate the enforcer to death. Isn't there a more feature rich plugin that already allows blocking of weapons?
    tNoUnlocksPls says it has the capability of blocking individual weapons, but I have no idea how to set it up.
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 05-15-2012 , 10:09   Re: [TF2] Enforcer Restriction
    Reply With Quote #7

    Quote:
    Originally Posted by Powerlord View Post
    tNoUnlocksPls says it has the capability of blocking individual weapons, but I have no idea how to set it up.
    I think I used that plugin once to block the katana back when that server crash exploit with the katana hitting civilians existed. It worked perfectly back then, though things around here aren't as maintained as most would like so it's probably one of many broken plugins chillin' in the approved section?
    xomp is offline
    Send a message via Skype™ to xomp
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 05-15-2012 , 10:46   Re: [TF2] Enforcer Restriction
    Reply With Quote #8

    This would be good to use with that damn Phlog - I can't believe Valve hasn't nerfed that sucker more yet. Those that never went pyro before that is all they use now. Add a medic and its more effective than the heavy as a uber combo.
    Horsedick is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 05-15-2012 , 11:01   Re: [TF2] Enforcer Restriction
    Reply With Quote #9

    Quote:
    Originally Posted by xomp View Post
    I think I used that plugin once to block the katana back when that server crash exploit with the katana hitting civilians existed. It worked perfectly back then, though things around here aren't as maintained as most would like so it's probably one of many broken plugins chillin' in the approved section?
    The author updated it not that long ago. Plus, it reads from items_game.txt to determine what slots specific weapon indexes use so it knows which stock weapons to replace them with.
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 05-15-2012 , 12:41   Re: [TF2] Enforcer Restriction
    Reply With Quote #10

    Quote:
    Originally Posted by Powerlord View Post
    The author updated it not that long ago. Plus, it reads from items_game.txt to determine what slots specific weapon indexes use so it knows which stock weapons to replace them with.
    That is great, I think I may use it to block the cheap as hell Dr. Grordbort weapons that Valve threw into this game.
    xomp is offline
    Send a message via Skype™ to xomp
    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 04:16.


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