g_Counter = 10 set_task(1.0, "count", 1337, _, _, "b") public count(id) { show_hudmessage(0, "%i", g_Counter--) if(g_Counter == 0) remove_task(id) }