View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 09-12-2011 , 07:48   [TF2] Destroy Engineer Buildings
Reply With Quote #1

[TF2] Destroy Engineer Buildings
Version 1.2.0



Description:
Written as a replacement for bl4nk's plugin since he doesn't appear to be supporting his, this allows admins to destroy or remove players' buildings.
The 'clean remove' option removes the building without spawning metal.

Commands:
  • sm_destroy <target player> [target building] [clean removal 0/1]
    • Target building can be sentry, dispenser, (teleport) entrance, (teleport) exit, tele (both entrance+exit), all (default), or last* (last built object).
    • If using clean removal "1", buildings will just vanish, rather then blowing up and producing metal.

      *Not implemented yet
Cvars:
  • sm_destroy_version
    • Plugin version

Install Instructions:
  1. Place DestroyBuildings.smx into your addons/sourcemod/plugins/ folder.

ToDo:
  • Finish adding support for "last" option
  • Menus
  • Logging

Version History:
  • V1.0.0
    • Initial Release
  • V1.2.0
    • Support for targeting last-built building added.
    • Fixes an issue with the if else stack

Total downloads as prior to last edit: 21

Attached Files
File Type: sp Get Plugin or Get Source (DestroyBuildings.sp - 4876 views - 5.7 KB)
__________________

Last edited by DarthNinja; 01-31-2012 at 03:12.
DarthNinja is offline