Aici este questul ce îl folosesc actual:
---------------------------------------------
-- Quest » Transformare la OX -
-- Created by Mandi -
-- Language » Românã -
---------------------------------------------
quest oxevent_polymorph begin
state start begin
when login begin
local m_idx = pc.get_map_index()
if m_idx == 113 then
timer("polymorph", 1)
end
end
when logout begin
local m_idx = pc.get_map_index()
if m_idx == 113 then
pc.remove_polymorph()
end
end
when polymorph.timer begin
local time_poly = 3600
local random_poly = number(1,8)
local vnum_poly = {20126, 20129, 20132, 20135, 20138, 20141, 20144, 34014, 34015, 34020, 34019, 34021, 34022, 34023, 34024, 34026, 34032, 34033, 34035, 34034, 34028, 34029, 34031, 34055, 34056, 34058, 34059}
pc.polymorph(tonumber(vnum_poly[random_poly]), time_poly)
end
end
end
Nu îmi pot da seama ce să verific și când... pentru că am încercat câteva metode eu dar nu am reușit.Cum îl pot face să funcționeaze după ce playerul reînvie?


