Code:
public void Zone_OnClientLeave(int client, const char[] zone)
{
if(StrContains(zone, "[zone name_1]", false) == 0)
{
GOKZ_StartTimer(client, 0);
}
}
public void Zone_OnClientEntry(int client, const char[] zone)
{
if(StrContains(zone, "[zone name_2]", false) == 0)
{
GOKZ_EndTimer(client, 0);
}
if(StrContains(zone, "[zone name_1]", false) == 0)
{
TimerStop(client);
}
}
Im very bad at this, sorry. With regards to
https://forums.alliedmods.net/showthread.php?p=2023591, how could one start the timer by leaving the zone and have it successfully finish also?