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

[L4D1] Drop Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7610
Plugin Version:
1.11
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Allows players to drop the weapon or another items they holding
    Old 04-23-2021 , 10:46   [L4D1] Drop Weapon
    Reply With Quote #1

    Description:
    Allows players to drop the weapon they are holding, or another items they have
    Settings:

    PHP Code:
    // Allow to specify weapon name in the sm_drop <argument> (1 - On / 0 - Off)
    l4d_drop_specify "1"

    // Minimum allowed interval between each drop (in sec.)
    l4d_drop_mininterval "1"

    // Number of times / in minute allowed for player to use drop command (0 - to disable restriction)
    l4d_drop_restrict "10"

    // Number of seconds to violate player for using drop command too often
    l4d_drop_timeviolation "60" 
    Compatiblity:
    - L4D1 only.
    Using:
    Copy l4ddrop.smx to addons/sourcemod/plugins
    Copy drop.phrases.txt to addons/sourcemod/translations
    Translations:
    English, Russian
    Author:
    Frustian, Figa, (improved by Dragokas & SilverShot)
    Attached Files
    File Type: zip L4D1-drop.zip (13.3 KB, 332 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-24-2021 at 11:27.
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-23-2021 , 10:48   Re: [L4D1] Drop Weapon
    Reply With Quote #2

    ChangeLog of this fork:

    Quote:
    1.10 (23-Apr-2021)
    - "give" command flags restoring, instead of forcing FCVAR_CHEAT.
    - Forced restriction to use with L4D1 only.
    - Code beautified.

    1.9 (25-Mar-2020)
    - Small optimizations

    1.8
    - Added support for "Prototype Grenades" plugin. This require "preferences" to set other than 1.
    - Added immunity for root admin "z" to limits on using drop command.
    - Fixed entities leak (thanks to SilverShot).
    - Added some safe checks, code optimizations.
    - Translation is optimized and appended.

    1.7
    - Converted to a new syntax and methodmaps.
    - Fixed potential crash caused by too often usage of drop command (see new ConVars).

    1.6.
    - Update for previous exploit: removed dependency on specific player model (thanks to SilverShot)
    - Updated translation file.

    1.5.
    - Fixed exploit for infinite pipe/molotov (thanks to SilverShot)

    1.3.
    - Removed F3 key binding

    1.3
    - Added IsClientInGame() check.
    */
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 04-24-2021 , 06:29   Re: [L4D1] Drop Weapon
    Reply With Quote #3

    zho (traditional chinese) + chi (simplified chinese)
    Attached Files
    File Type: txt drop.phrases.txt (4.7 KB, 98 views)
    __________________
    HarryPotter is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-24-2021 , 11:28   Re: [L4D1] Drop Weapon
    Reply With Quote #4

    Thank you. Added.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Reply


    Thread Tools
    Display Modes

    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 20:23.


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