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

[L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.25【2024-04-22】


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8287
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-13-2022 , 07:36   [L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.25【2024-04-22】
    Reply With Quote #1

    Description
    • Makes weapons get automatic laser sight upgrade on equip.
    • Automatically remove laser sight from enabled weapons on drop.
    • Customizable for each weapon.

    Cvars
    PHP Code:
    laser_sight_upgrade_on_equip_path "data/laser_sight_upgrade_on_equip.cfg" 
    Commands
    • sm_laser_sight_upgrade_on_equip_reload (admin flag "z")
      :reload config data from file.

    known issue
    • if load plugin/use command "laser_sight_upgrade_on_equip_reload" on map transition, the enabled and dropped weapon's laser sight will restore after new level start.

    Change log
    Spoiler


    Configs installation
    • put laser_sight_upgrade_on_equip.cfg in sourcemod/data/. if you changed the file name or path, you have to edit the cvar "path" too.
    • "enable" means whether to enable on this weapon. 1 = enable, 0 = disable.
    Spoiler
    Attached Files
    File Type: cfg laser_sight_upgrade_on_equip.cfg (943 Bytes, 486 views)
    File Type: sp Get Plugin or Get Source (laser_sight_upgrade_on_equip.sp - 10 views - 6.3 KB)

    Last edited by little_froy; 04-24-2024 at 01:55.
    little_froy is offline
     



    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 05:58.


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