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

[TF2] Team Management


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MikeJS
Senior Member
Join Date: Nov 2008
Plugin ID:
669
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Lets you swap a player's team, scramble teams and respawn players
    Unapprover:
    Reason for Unapproving:
    Provides same functions as other plugins
    Old 12-09-2008 , 14:07   [TF2] Team Management
    Reply With Quote #1

    Lets admins swap a player's team, scramble the teams without the timelimit resetting and force players to respawn.

    Installation:
    Put the .smx in the plugins folder with all your other plugins.

    Cmds:
    Code:
    sm_respawn <name> - Force a player to respawn.
    sm_scramble - Scramble teams.
    sm_ts <name> [index] - Swap a player's team or move a player to team [index]. (1=spec, 2=red, 3=blue)
    Changelog:
    1.0 - Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (teams.sp - 1596 views - 2.7 KB)
    MikeJS is offline
    RAAP
    Member
    Join Date: Jan 2008
    Location: Vancouver, BC, Canada
    Old 12-10-2008 , 20:01   Re: [TF2] Team Management
    Reply With Quote #2

    Will this show up in the admin menu, under player commands?
    RAAP is offline
    Necrothug
    Member
    Join Date: Aug 2008
    Old 12-10-2008 , 20:11   Re: [TF2] Team Management
    Reply With Quote #3

    Any chance we could get this for L4D?
    Necrothug is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 12-11-2008 , 12:12   Re: [TF2] Team Management
    Reply With Quote #4

    @RAAP: No
    @Necrothug: I'm not sure how to respawn players in L4D but if I find out, it won't be hard to modify.
    MikeJS is offline
    roverturbo
    New Member
    Join Date: Sep 2009
    Old 09-10-2009 , 03:05   Re: [TF2] Team Management
    Reply With Quote #5

    I seem to have a small problem with this plugin.

    When i move players from spectator they are moved to a team fine, but they do not auto spawn and stay in a dead state on the scoreboard. I use this on a achievement_idle server and wanted to have them spawn when moved from spectator and not just be in a dead state on a team until they interact with the game later. I have tried making them respawn after moving them but that also doesn't make them spawn.

    Is the plugin mean't to act this way because they perhaps have not choosen a class? If so, is there anyway to force them to spawn as a class?

    Regards.
    roverturbo is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 09-10-2009 , 11:43   Re: [TF2] Team Management
    Reply With Quote #6

    Quote:
    Originally Posted by roverturbo View Post
    Is the plugin mean't to act this way because they perhaps have not choosen a class? If so, is there anyway to force them to spawn as a class?
    I think so. You could try adding
    Code:
    TF2_SetPlayerClass(client, TFClassType:GetRandomInt(1, 9));
    after setting their team.
    __________________
    MikeJS is offline
    roverturbo
    New Member
    Join Date: Sep 2009
    Old 09-11-2009 , 14:58   Re: [TF2] Team Management
    Reply With Quote #7

    Quote:
    Originally Posted by MikeJS View Post
    I think so. You could try adding
    Code:
    TF2_SetPlayerClass(client, TFClassType:GetRandomInt(1, 9));
    after setting their team.
    Thanks for your input, i appreciate it alot.
    roverturbo is offline
    roverturbo
    New Member
    Join Date: Sep 2009
    Old 09-12-2009 , 00:07   Re: [TF2] Team Management
    Reply With Quote #8

    I altered the script tonight and recompiled it, seemed to work perfect, thanks!

    Last edited by roverturbo; 09-12-2009 at 00:11.
    roverturbo is offline
    Reply



    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 00:59.


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