Thread
:
[TF2] Force End Round
View Single Post
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
11-09-2013 , 15:59 Re: [TF2] Force End Round
#
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
View Public Profile
Send a private message to El Diablo War3Evo
Visit El Diablo War3Evo's homepage!
Find More Posts by El Diablo War3Evo