added more print messages

This commit is contained in:
jenz 2023-04-29 13:41:32 +02:00
parent 60ecb4f85d
commit 48d793437a

View File

@ -394,6 +394,7 @@ public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast
if (l_iZoneCount == 1 && race_zone_count == 1)
{
g_bHumansAllowedTime[i] = true;
PrintToChat(i, "Started timer: There is only a finish zone");
g_fStartTime[i] = GetEngineTime();
mysql_get_player_time(i, 0);
}
@ -714,8 +715,11 @@ public void CheckIfSpecialRoundZones(char[] resultstart, char[] resultend)
//----------------------------------------------------------------------------------------------------
public void CheckifAntiZones(int client, bool reset)
{
if (reset)
g_bHumansAllowedTime[client] = false;
if (reset)
{
g_bHumansAllowedTime[client] = false;
PrintToChat(client, "Disabled Timer due to using illegal shortcut");
}
}
//----------------------------------------------------------------------------------------------------
// Purpose: