I know I didn't change much but see if it works:
Code:
public client_putinserver(id)
{
if (is_user_bot(id))
return PLUGIN_HANDLED
if (!connect(sql))
{
log_amx("Error - Couldn't connect to SQL db")
return PLUGIN_HANDLED
}
new idd[1]
idd[0] = id
set_task(60.0, "kac_exists", 0, idd, 1)
return PLUGIN_CONTINUE
}
Don't know if the array length would have any effect on it but its worth a shot.