Couple things I changed in mine:
I added a mapcheck just so the timer isnt run if its not manor.
Code:
public OnMapStart()
{
decl String:sMapname[128];
GetCurrentMap(sMapname, sizeof(sMapname));
//LogAction(0, -1, "Current Map Detected as: %s", sMapname);
if(strcmp(sMapname, "cp_manor_event") == 0)
{
CreateTimer(1.0, ShowTimer, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
}
}
I also took off the alive check in the callback so dead players can also see the present timer. I dont think theres a reason to prevent dead players from seeing the timer is there? I didnt think so.
__________________