Monthly Target: $400 Donations: $126
 31% 

[TF2] Force End Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
3111
Plugin Version:
1.0.1
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    47 
    Plugin Description:
    Forces the current round to end
    Old 07-22-2012 , 19:02   [TF2] Force End Round
    Reply With Quote #1

    [TF2] Force End Round
    Version 1.0.1


    Description:
    Forces the current round to end.

    Commands:
    • sm_forceendround / sm_fer [Team]
      • Forces the round to end and credits Team for the win.
      • Team can be "Red", "Blue", or "None" for stalemate.
      • If Team isn't specified, the team of the client running the command will be used.

    Install Instructions:

    1. Place ForceEndRound.smx into your addons/sourcemod/plugins/ folder.

    Version History:
    • V1.0.0
      • Initial Release
    • V1.0.1
      • Added a missing if statement
    Total downloads as prior to last edit: 30


    Attached Files
    File Type: sp Get Plugin or Get Source (ForceEndRound.sp - 1908 views - 1.7 KB)
    __________________

    Last edited by DarthNinja; 07-27-2012 at 03:01.
    DarthNinja is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: Soviet Union
    Old 07-22-2012 , 19:39   Re: [Any] Force End Round
    Reply With Quote #2

    tf2-specified entity, eh?
    Leonardo is offline
    rtk
    Senior Member
    Join Date: Dec 2009
    Old 09-05-2012 , 23:49   Re: [TF2] Force End Round
    Reply With Quote #3

    It crashes the server with red or blu, only works with "none"
    __________________
    Never argue with an idiot. He lowers you to his level and then wins on experience!
    rtk is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 09-06-2012 , 00:37   Re: [TF2] Force End Round
    Reply With Quote #4

    Quote:
    Originally Posted by rtk View Post
    It crashes the server with red or blu, only works with "none"
    Never crashed for me.
    Details?
    __________________
    DarthNinja is offline
    Gabberarmy
    New Member
    Join Date: Nov 2012
    Old 11-04-2012 , 08:48   Re: [TF2] Force End Round
    Reply With Quote #5

    Hey dude!

    Good work, but would it be possible to force win, when a team has fraglimit reached or when timer ends, the team with most kills wins ? That would be really awesome, it would be a real Team-Deathmatch Mod then =)

    Last edited by Gabberarmy; 11-04-2012 at 08:49.
    Gabberarmy is offline
    El Diablo War3Evo
    Senior Member
    Join Date: Jun 2013
    Old 11-09-2013 , 16:59   Re: [TF2] Force End Round
    Reply With Quote #6

    new iEnt = -1;

    iEnt = FindEntityByClassname(iEnt, "game_round_win");

    if (iEnt < 1)
    {
    iEnt = CreateEntityByName("game_round_win");
    if (IsValidEntity(iEnt))
    DispatchSpawn(iEnt);
    else
    {
    SC_LogError("Unable to find or create a game_round_win entity!");
    }
    }

    if(IsValidEntity(iEnt))
    {
    SetVariantInt(2);
    AcceptEntityInput(iEnt, "SetTeam");
    AcceptEntityInput(iEnt, "RoundWin");
    }


    ^^ Causes a server to crash if used at the moment a player dies
    El Diablo War3Evo is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: Soviet Union
    Old 11-10-2013 , 12:44   Re: [TF2] Force End Round
    Reply With Quote #7

    leo, get the hell out of this thread

    Last edited by Leonardo; 11-10-2013 at 12:46.
    Leonardo is offline
    kitty0725
    Junior Member
    Join Date: Jul 2014
    Old 08-19-2014 , 22:52   Re: [TF2] Force End Round
    Reply With Quote #8

    Hope you can make a Cvars, please?
    kitty0725 is offline
    DJPlaya
    Senior Member
    Join Date: Nov 2014
    Location: Germany
    Old 04-26-2015 , 19:41   Re: [TF2] Force End Round
    Reply With Quote #9

    Still not working, freez the server
    DJPlaya is offline
    Send a message via Skype™ to DJPlaya
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 05-16-2015 , 18:49   Re: [TF2] Force End Round
    Reply With Quote #10

    Hello, could you add a command for players to initiate a vote to force round end? That would be wonderful.
    __________________
    Marverlous is offline
    Reply


    Thread Tools
    Display Modes

    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 02:17.


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