TF2 Set Class
Description: Set a target(s) class to the specified one, simple enough eh?
CVARs(Default Values Shown):
sm_setclass_version "1.2.2"
sm_setclass_chat "1" - Enable/Disable(1/0) Showing setclass changes in chat
sm_setclass_log "1" - Enable/Disable(1/0) Logging of setclass changes
Command: sm_setclass "target" "class" (
Default Slay Flag)
Note: Canuse "random" for class to have the plugin choose a random class
Examples:
sm_setclass Thatonedude Soldier
sm_setclass "The Master Stalker" Spy
sm_setclass @me PYRO
sm_setclass @red EnGiNeEr
sm_setclass @humans scout
sm_setclass @bots medic
sm_setclass @all random
Changelog:
Code:
Version 1.0.0 - October 25, 2010
* Initial release.
Version 1.0.1 - October 26, 2010
* Fixed a glitch with setting a target's class while they're taunting (Thanks Thraka)
Version 1.1.0 - November 2, 2010
* Added ability to use 'random' to allow the plugin to pick a random class
* Logging will now specify whether the command or the admin menu was used to change class
Version 1.2.0 - July 23, 2011
* Overhaul of original plugin code for stability and optimization
* Removed menu version(adminmenu_custom example attached)
Version 1.2.1 - December 24, 2011
* Using "random" with multiple targets will now randomize each individual target's class
Version 1.2.2 - May 20, 2012
* Added extra Validity checks to prevent errors