quest qwgqq begin
state start begin
when 9003.chat." حدث ضوء القمر " with pc.is_gm() begin
say("")
if game.get_event_flag("fsf") == 1 then
say(" الحدث شغال هل تريد انهاءه؟ ")
local d = select (" نعم "," لا ")
if d == 1 then
say(" تم تعطيل الحدث ")
notice_all(" تم انتهاء حدث ضوء القمر ")
game.set_event_flag("fsf",0)
end
end
if game.get_event_flag("fsf") == 0 then
say(" الحدث موقف هل تريد تفعيله؟ ")
local m = select (" نعم "," لا ")
if m == 1 then
say(" تم تفعيل الحدث ")
notice_all(" تم تفعيل حدث ضوء القمر ")
game.set_event_flag("fsf",1)
end
end
end
when kill with game.get_event_flag("fsf") == 1 begin
pc.give_item(50011, 1)
end
end
end
when 9003.chat." حدث ضوء القمر " with pc.is_gm() begin
notice_all(" تم تفعيل حدث ضوء القمر ")