removing file not there and updating racetimer plugin to fix edge bug
This commit is contained in:
@@ -281,14 +281,20 @@ public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast
|
||||
g_bhumans_finished[i] = false;
|
||||
resetClientVectors(i);
|
||||
g_bAllowToLeave[i] = 0;
|
||||
char first_zone[512];
|
||||
ZoneNameBasedOnIndex(0, first_zone);
|
||||
if (race_zone_count != 1)
|
||||
g_bHumansAllowedTime[i] = false;
|
||||
else
|
||||
else if (StrContains(first_zone, "ZONE_PREFIX_RACE") > -1) //ensures only one zone in total and that its the actual end zone
|
||||
{
|
||||
mysql_get_player_time(i, 0);
|
||||
g_bHumansAllowedTime[i] = true;
|
||||
g_fStartTime[i] = GetEngineTime();
|
||||
}
|
||||
else
|
||||
{
|
||||
g_bHumansAllowedTime[i] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
@@ -534,6 +540,7 @@ public void unloze_zoneLeave(int client, char[] zone)
|
||||
|
||||
if (GetClientTeam(client) == CS_TEAM_CT)
|
||||
{
|
||||
//PrintToChatAll("Equal: %i", StrEqual(zone, g_cSpecialMapStart));
|
||||
if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
|
||||
{
|
||||
char sAuthID[32];
|
||||
|
||||
Reference in New Issue
Block a user