*Problemă/Întrebare: As vrea un quest care sa te 90 de minute intr-o anumita mapa setata dupa index dupa care sa te scoata si sa poti intra in ea abia dupa 30 de minute dupa ce ai fost scos.
Tipologie server: -
*Resursă folosită:-
*ServerFiles utilizat:-
*Syserr:-
Poză:-
*Detalii suplimentare: Am gasit questul acest quest:
Cod: Selectaţi tot
-- Script creat de ExecuteDev pentru J4M
-- #1devinworld
quest maptimer begin
state start begin
when login with pc.get_map_index() == 63 begin
loop_timer("executenr1", 60 * 60 * 60) -- de aici modifici timpul cât să stea în mapă
end
when executenr1.timer begin
syschat("[System]: Timpul pentru mapa a expirat! Revino mai tarziu!")
local empire = pc.get_empire()
if empire == 1 then
command(/go a)
end
if empire == 2 then
command(/go b)
end
if empire == 3 then
command(/go c)
end
pc.setqf("executedev", 1)
end
when login and pc.get_map_index() == 63 and pc.setqf("executedev", 1) begin
if pc.getqf("executedev") == 1 then
say("Trebuie să astepti x minute pentru a intra iar in mapa!")
if empire == 1 then
command(/go a)
end
if empire == 2 then
command(/go b)
end
if empire == 3 then
command(/go c)
end
pc.setqf("executedev", 1)
loop_timer("executenr12", 60 * 60 * 60)
end
end
when executenr12.timer begin
pc.setqf("executedev", 0)
end
end
endCod: Selectaţi tot
time_map.quest:21:syntax error : [string "start"]:4: unexpected symbol near `/'Multumesc anticipat!






