new bool:iLag[32]
1) Why "i"? It's a boolean. so bLag. Moreover, it should be MAX_PLAYERS+1 (32+1).
2) Better not to use ResetHUD.
3) get_cvar_num -> get_pcvar_num (if you want to support AMXX 1.8.2. If not, so just use bind_pcvar_*).
4)
PHP Code:
public StartThread(id) if(iLag[id]==false){
->
PHP Code:
public StartThread(id)
{
if(!iLag[id])
set_task(0.1, "ShowTime", id);
}
And the same with other functions.
5) iTime should be szTime because it's a string.
6) new iTime[256] why 256?
__________________