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

[L4D2] Upgrade Ammo Pack Deploy Announce [v1.0.0 | 23-January-2023]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8375
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    Outputs to the chat who deployed an upgrade ammo pack and what type of upgrade it is
    Old 01-23-2023 , 14:02   [L4D2] Upgrade Ammo Pack Deploy Announce [v1.0.0 | 23-January-2023]
    Reply With Quote #1

    L4D2 ONLY

    Description

    This plugin outputs to the chat every time someone deploy an upgrade ammo pack:
    • Incendiary
    • Explosive

    Features
    • Output the name of who deployed to the chat.
    • Allow selecting which upgrade packs should output to the chat.
    • Allow selecting which teams should see the message.

    Preview



    Chat message examples
    • Mart deployed an incendiary ammo pack
    • Mart deployed an explosive ammo pack

    Cvars

    A configuration file named "l4d2_pack_deploy_announce.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_pack_deploy_announce_enable "1"

    // Output to the chat every time someone deploys an explosive ammo pack.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_pack_deploy_announce_explosive "1"

    // Output to the chat every time someone deploys an incendiary ammo pack.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_pack_deploy_announce_incendiary "1"

    // Should the message be transmitted to those who deployed it.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_pack_deploy_announce_self "1"

    // Which teams should the message be transmitted to.
    // 0 = NONE, 1 = SURVIVOR, 2 = INFECTED, 4 = SPECTATOR, 8 = HOLDOUT.
    // Add numbers greater than 0 for multiple options.
    // Example: "3", enables for SURVIVOR and INFECTED.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "15.000000"
    l4d2_pack_deploy_announce_team "1" 
    Admin Commands
    • sm_print_cvars_l4d2_pack_deploy_announce => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Current Translations
    • en - English
    • es - Spanish
    • hu - Hungarian
    • no - Norwegian
    • pt - Brazilian Portuguese
    • pt_p - Portuguese
    • ru - Russian

    Thank you!
    • KasperH - for the Hungarian (hu) translation.
    • Tegh - for the Norwegian (no) translation.
    • BloodyBlade - for the Russian (ru) translation.

    Related Plugins

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "l4d2_pack_deploy_announce.phrases.txt" file in your "\addons\sourcemod\translations\" folder.
    • Put the "l4d2_pack_deploy_announce.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: txt l4d2_pack_deploy_announce.phrases.txt (2.3 KB, 498 views)
    File Type: sp Get Plugin or Get Source (l4d2_pack_deploy_announce.sp - 502 views - 14.6 KB)
    __________________

    Last edited by Marttt; 02-19-2023 at 21:54.
    Marttt 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 09:26.


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