Raised This Month: $51 Target: $400
 12% 

[TF2] Set Player Class


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2625
Plugin Version:
1.0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    26 
    Plugin Description:
    Manually forces clients to a class.
    Old 10-29-2011 , 04:13   [TF2] Set Player Class
    Reply With Quote #1

    [TF2] Set Player Class
    Version 1.0.1




    Description:
    This will force a client to instantly switch to another class. They will not die and their items will remain the same for their previous class.
    This as you may expect allows for some pretty funny screenshots.

    For Example...




    Commands:
    • sm_setplayerclass <client> [class]
      • Class can be left blank for a random choice

    Cvars:
    • sm_setplayerclass_version
      • Plugin Version
    Install Instructions:
    1. Place SetClass.smx into your addons/sourcemod/plugins/ folder.
    Notes:
    • This is not exactly the same as This Plugin. Mine does not refresh items so you can have a scout loadout on a heavy as pictured above.
      I was not aware of the above plugin when I threw this together.
    • This plugin is intended more for fun then for any practical value.

    Version History:
    • V1.0.0
      • Initial Release
    • V1.0.1
      • Added fix for client entering an invalid class.
    Total downloads as prior to last edit: 48
    Attached Files
    File Type: sp Get Plugin or Get Source (SetClass.sp - 3798 views - 2.1 KB)
    __________________

    Last edited by DarthNinja; 10-31-2011 at 07:36.
    DarthNinja is offline
     



    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 14:16.


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