added more print messages
This commit is contained in:
parent
60ecb4f85d
commit
48d793437a
@ -394,6 +394,7 @@ public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast
|
|||||||
if (l_iZoneCount == 1 && race_zone_count == 1)
|
if (l_iZoneCount == 1 && race_zone_count == 1)
|
||||||
{
|
{
|
||||||
g_bHumansAllowedTime[i] = true;
|
g_bHumansAllowedTime[i] = true;
|
||||||
|
PrintToChat(i, "Started timer: There is only a finish zone");
|
||||||
g_fStartTime[i] = GetEngineTime();
|
g_fStartTime[i] = GetEngineTime();
|
||||||
mysql_get_player_time(i, 0);
|
mysql_get_player_time(i, 0);
|
||||||
}
|
}
|
||||||
@ -715,7 +716,10 @@ public void CheckIfSpecialRoundZones(char[] resultstart, char[] resultend)
|
|||||||
public void CheckifAntiZones(int client, bool reset)
|
public void CheckifAntiZones(int client, bool reset)
|
||||||
{
|
{
|
||||||
if (reset)
|
if (reset)
|
||||||
|
{
|
||||||
g_bHumansAllowedTime[client] = false;
|
g_bHumansAllowedTime[client] = false;
|
||||||
|
PrintToChat(client, "Disabled Timer due to using illegal shortcut");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
// Purpose:
|
// Purpose:
|
||||||
|
Loading…
Reference in New Issue
Block a user