View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-18-2013 , 09:30   Re: [TF2] Friendly Mode (now with NoBlock and Alpha!)
Reply With Quote #52

Uploading new version 13.0418. It is attached to this post, has been pushed to the server that Updater downloads from, and will soon replace the version in the first post in this thread. Changes are:
  • Added command sm_friendly_admin. This command is only available to admins with the BAN flag by default; you can change this in your Overrides. Admins who use this command will be able to completely bypass Friendly mode, being able to damage Friendlies and non-Friendlies, regardless of the admin's own Friendly status. This command can only be used if sm_friendly_invuln = 2 or 3.

  • Removed claims of the plugin being able to block friendly engineers from building things.

  • Updater support! To enable automatic updating, you must have the Updater plugin installed, and set sm_friendly_update to either 1 or 2. 0, the default value, disables automatic updating, but will notify you of an available update in Updater's log file.
    Code in friendly.sp to facilitate auto-updating was borrowed and modified from Dr. McKay's Automatic Steam Update, and the rest was thanks to this handy guide he wrote. BIG THANKS TO HIM!
  • Changing Version format from here on. Version numbers will be in YY.MMDD format, with an optional .# following in the event that more than 1 update is released in a single day.

  • Added a prefix to all chat outputs.

Please let me know if you run into any issues.
Attached Files
File Type: sp Get Plugin or Get Source (friendly.sp - 108 views - 16.1 KB)
File Type: smx friendly.smx (10.5 KB, 117 views)

Last edited by ddhoward; 04-18-2013 at 10:54.
ddhoward is offline