OTserv musi posiadać restarter!
włączamy restarter
i stawiamy npc na mapce!
UPDATE NA TIBIĘ 7.9!
Kod:
ostatnires = nil
focus = 0
talk_start = 0
target = 0
following = false
attacking = false
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
end
function onCreatureTurn(creature)
end
function onCreatureSay(cid, type, msg)
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if ostatnires == nil then
ostatnires = os.time()
end
if os.difftime (os.time(), ostatnires) >= (9*60*60) then
selfSay('/restart 5')
selfSay('Please go back for 10 minutes(restart).')
ostatnires = os.time()
end
3-godziny
60-minuty
60)-sekundy
zmieniajcie tylko godziny :P ustawione jest co 9h restart ;x
u mnei na ots było co 9h jak ktoś grał :P
Zakładki