Raised This Month: $ Target: $400
 0% 

TF2: Destroy Engineer Buildings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
385
Plugin Version:
1.0.2
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Destroy an engineer's buildings
    Unapprover:
    Reason for Unapproving:
    Replaced by https://forums.alliedmods.net/showthread.php?t=167153
    Old 05-18-2008 , 15:52   TF2: Destroy Engineer Buildings
    Reply With Quote #1

    Destroy Engineer Buildings
    Destroy an engineer's buildings

    Commands:
    sm_destroy <name/@all/@blue/@red> [sentry/dispenser/entrance/exit/all]

    Requirements:
    SourceMod 1.0.2 or later.


    Installation Instructions:
    1. Download the destroy.smx file to your plugins folder (or you can compile the source file if you like).
    2. Download the destroy.phrases.txt to your translations folder.
    3. If you wish to add the plugin to your admin menu, use the adminmenu_custom.txt file. Place it in your ~/addons/sourcemod/configs folder and reload the Admin Menu plugin (adminmenu.smx). If you want to add the ability to use the command to the RED/BLU teams, you can do so by using the adminmenu_grouping.txt.
    4. Manually load the plugin, change the map, or restart the server.
    Notes:
    • If you do not specify an object to destroy, it will be treated as if you typed "all".
    • People will only see the messages about an admin destroying their object if they have the object built. If the admin destroys "all", it will only message them if they have at least one object built.
    • To use the command, admins must have the slay (f) flag.
    Changelog:
    • 1.0.0
      • Initial release.
    • 1.0.1
      • Fixed translation problem when an invalid building name was used.
      • Building names are now case insensitive.
    • 1.0.2
      • Changed targetting system to use the built-in SM @commands instead of my own.
      • Included updated examples for the admin menu.
    Attached Files
    File Type: txt destroy.phrases.txt (650 Bytes, 2838 views)
    File Type: txt adminmenu_custom.txt (486 Bytes, 2680 views)
    File Type: txt adminmenu_grouping.txt (640 Bytes, 2220 views)
    File Type: sp Get Plugin or Get Source (destroy.sp - 4866 views - 5.7 KB)

    Last edited by bl4nk; 06-15-2008 at 00:37.
    bl4nk is offline
     


    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 07:22.


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