Raised This Month: $ Target: $400
 0% 

[TF2] Block weapons drop on death


Post New Thread Reply   
 
Thread Tools Display Modes
Author
doneurcreations
New Member
Join Date: Mar 2015
Plugin ID:
4704
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 07-03-2015 , 00:17   [TF2] Block weapons drop on death
    Reply With Quote #1

    Information:
    I'm back with a new account (i lost password & email),
    Block weapons from dropping after the new The Gun Mettle Update.


    Requirements:
    • sdktools
    • sdkhooks


    Files:
    Attached Files
    File Type: sp Get Plugin or Get Source (weaponsdrop.sp - 907 views - 419 Bytes)
    File Type: smx weaponsdrop.smx (3.9 KB, 377 views)

    Last edited by doneurcreations; 07-03-2015 at 06:10.
    doneurcreations is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 07-03-2015 , 06:05   Re: [TF2] Block weapons drop on death
    Reply With Quote #2

    PHP Code:
    public OnEntityCreated(entity, const String:classname[])
    {
        if(
    StrEqual(classname"tf_dropped_weapon"))
        {
            
    AcceptEntityInput(entity"Kill");
        }

    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.

    Last edited by friagram; 07-03-2015 at 06:05.
    friagram is offline
    doneurcreations
    New Member
    Join Date: Mar 2015
    Old 07-03-2015 , 06:12   Re: [TF2] Block weapons drop on death
    Reply With Quote #3

    Quote:
    Originally Posted by friagram View Post
    PHP Code:
    public OnEntityCreated(entity, const String:classname[])
    {
        if(
    StrEqual(classname"tf_dropped_weapon"))
        {
            
    AcceptEntityInput(entity"Kill");
        }

    I try it before the Hotfix, it didn't work, now it work, so updated.

    oh, and i found this.
    tf_dropped_weapon_lifetime 0, but it need sv_cheats 1
    doneurcreations is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 07-03-2015 , 09:43   Re: [TF2] Block weapons drop on death
    Reply With Quote #4

    Quote:
    Originally Posted by doneurcreations View Post
    I try it before the Hotfix, it didn't work, now it work, so updated.

    oh, and i found this.
    tf_dropped_weapon_lifetime 0, but it need sv_cheats 1
    Try using 'sm_cvar tf_dropped_weapon_lifetime 0' instead perhaps
    __________________
    ...

    Last edited by Oshizu; 07-03-2015 at 09:43.
    Oshizu is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 07-03-2015 , 13:05   Re: [TF2] Block weapons drop on death
    Reply With Quote #5

    yeah with that ^ this plugin is pointless.
    __________________
    Chdata is offline
    Bjorngomes
    Member
    Join Date: Jun 2013
    Old 07-14-2015 , 09:10   Re: [TF2] Block weapons drop on death
    Reply With Quote #6

    since its useless since we know about that we can block through cvars

    How about the ability to toggle so you can drop weapons or not. Which would be extremely usefull Because some peoples has to be able to block dropping it /dropblock or something so you can block weapons drop since of the tf2 items and gun mettle peoples are allowed to steal the guy OP Weapons which should be looked for
    Bjorngomes is offline
    doneurcreations
    New Member
    Join Date: Mar 2015
    Old 07-14-2015 , 11:21   Re: [TF2] Block weapons drop on death
    Reply With Quote #7

    Working on it.
    doneurcreations 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 02:35.


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