View Single Post
Author Message
waylaidwanderer
SourceMod Donor
Join Date: Aug 2012
Old 11-11-2012 , 01:33   [TF2] Pick a Medic (v1.0.1, Nov. 15/12)
Reply With Quote #1

I made this plugin by request.

You can make a random person on the server a medic. Could be useful for PUGs and Scrims or things like that.

Description:
  • Forces a random player to become a medic (does not prevent them from changing class to something else after that).
Commands:
  • sm_pickmedic | Randomly chooses a player, and then forces them to become a medic. Can be also triggered by typing !pickmedic or /pickmedic into chat. | Default Flag: GENERIC | Override: sm_pickmedic
Cvars:
  • sm_pickmedic_version | Plugin version. Do not edit.
  • sm_pickmedic_enabled | 0 = Disable plugin, 1 = Enable plugin | Default Value: 1
Installation:
  • Place pickmedic.smx into your addons/sourcemod/plugins folder.
Changelog:
  • Fixed a bug that caused the plugin to do nothing (v1.0.1, November 15th, 2012)
  • Created and uploaded plugin (v1.0.0, November 10th, 2012)

This plugin currently targets both teams.
Attached Files
File Type: sp Get Plugin or Get Source (pickmedic.sp - 703 views - 2.2 KB)

Last edited by waylaidwanderer; 09-22-2014 at 02:03.
waylaidwanderer is offline