function restart () -- tworzymy funkcj? local ten_skrypt = getThisResource() -- pobieramy zas?b kt?ry chcemy zresetowa?, wezm? ten dla przyk?adu local restart1 = restartResource (ten_skrypt) -- restartujemy podany skrypt if restart1 then outputDebugString ("Zas?b zrestartowany pomy?lnie") -- informacja, czy sie udalo end end setTimer (restart, 60*60*1000, 0) -- ustawiamy godzinny timer z powtarzaniem