AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Force End Round (https://forums.alliedmods.net/showthread.php?t=190798)

DarthNinja 07-22-2012 18:02

[TF2] Force End Round
 
1 Attachment(s)
[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



Leonardo 07-22-2012 18:39

Re: [Any] Force End Round
 
tf2-specified entity, eh?

rtk 09-05-2012 22:49

Re: [TF2] Force End Round
 
It crashes the server with red or blu, only works with "none" :cry:

DarthNinja 09-05-2012 23:37

Re: [TF2] Force End Round
 
Quote:

Originally Posted by rtk (Post 1792450)
It crashes the server with red or blu, only works with "none" :cry:

Never crashed for me.
Details?

Gabberarmy 11-04-2012 07:48

Re: [TF2] Force End Round
 
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 =)

El Diablo War3Evo 11-09-2013 15:59

Re: [TF2] Force End Round
 
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

Leonardo 11-10-2013 11:44

Re: [TF2] Force End Round
 
leo, get the hell out of this thread

kitty0725 08-19-2014 21:52

Re: [TF2] Force End Round
 
Hope you can make a Cvars, please?

DJPlaya 04-26-2015 18:41

Re: [TF2] Force End Round
 
Still not working, freez the server :(

Marverlous 05-16-2015 17:49

Re: [TF2] Force End Round
 
Hello, could you add a command for players to initiate a vote to force round end? That would be wonderful.


All times are GMT -4. The time now is 16:30.

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