instead now using cssfixes to patch out the frozen command so that i dont handle it here
This commit is contained in:
parent
2508ad1957
commit
aad7bf415b
@ -991,26 +991,12 @@ public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason)
|
|||||||
InitiateVote(MapChange_Instant); //feature so mapvote happens at actual mapend
|
InitiateVote(MapChange_Instant); //feature so mapvote happens at actual mapend
|
||||||
}
|
}
|
||||||
delay = float(total_time);
|
delay = float(total_time);
|
||||||
CreateTimer(1.0, Timer_set_move_type);
|
|
||||||
return Plugin_Changed;
|
return Plugin_Changed;
|
||||||
}
|
}
|
||||||
g_DidRoundTerminate = false;
|
g_DidRoundTerminate = false;
|
||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Action Timer_set_move_type(Handle hTimer, Handle dp)
|
|
||||||
{
|
|
||||||
for (int i = 1; i <= MaxClients; i++)
|
|
||||||
{
|
|
||||||
if (IsValidClient(i))
|
|
||||||
{
|
|
||||||
SetEntityMoveType(i, MOVETYPE_WALK);
|
|
||||||
//should allow people to run around freely by overwriting pPlayer->AddFlag( FL_FROZEN ); line 3337 in cs_gamerules.cpp
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return Plugin_Handled;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Action Timer_fall_back_map_switch(Handle hTimer, Handle dp)
|
public Action Timer_fall_back_map_switch(Handle hTimer, Handle dp)
|
||||||
{
|
{
|
||||||
ForceChangeLevel("ze_random_v9", "nobody voted at mapvote");
|
ForceChangeLevel("ze_random_v9", "nobody voted at mapvote");
|
||||||
|
Loading…
Reference in New Issue
Block a user