MCE: on last round end display next map in chat
This commit is contained in:
parent
ffbf3910fa
commit
fe0a20ff44
@ -849,6 +849,18 @@ public void Event_WeaponRank(Handle event, const char[] name, bool dontBroadcast
|
|||||||
/* You ask, why don't you just use team_score event? And I answer... Because CSS doesn't. */
|
/* You ask, why don't you just use team_score event? And I answer... Because CSS doesn't. */
|
||||||
public void Event_RoundEnd(Handle event, const char[] name, bool dontBroadcast)
|
public void Event_RoundEnd(Handle event, const char[] name, bool dontBroadcast)
|
||||||
{
|
{
|
||||||
|
int timeleft;
|
||||||
|
GetMapTimeLeft(timeleft);
|
||||||
|
|
||||||
|
if(timeleft <= 0 || g_ChangeMapAtRoundEnd)
|
||||||
|
{
|
||||||
|
char map[32];
|
||||||
|
GetNextMap(map, sizeof(map));
|
||||||
|
PrintToChatAll("[MCE] Next Map: %s", map);
|
||||||
|
PrintToChatAll("[MCE] Next Map: %s", map);
|
||||||
|
PrintToChatAll("[MCE] Next Map: %s", map);
|
||||||
|
}
|
||||||
|
|
||||||
if(g_RoundCounting == RoundCounting_ArmsRace)
|
if(g_RoundCounting == RoundCounting_ArmsRace)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user