[EVENT]ZIua indragostitilor
Pagina 1 din 1
[EVENT]ZIua indragostitilor
- Cod:
----------------------------------------------
--Nume: valentin.quest
--By Rapk1d
----------------------------------------------
quest valentin begin
state start begin
when kill with game.get_event_flag("valentin") == 1 and not npc.is_pc() begin
local s = number(1, 200)
local m = pc.get_sex()
if s <= 3 then
if m == 0 then
pc.give_item2(50024,1)--50024 rose to gift
syschat("You have found a Valentine's Day gift.")
elseif m == 1 then
pc.give_item2(50025,1)--50024 chocolate to gift
syschat("You have found a Valentine's Day gift.")
end
end
if s >= 4 and s<=6 then
if m == 0 then
pc.give_item2(50031,1)--50031 yellow rose, to him
syschat("Has received a Valentine's Day gift.")
elseif m == 1 then
pc.give_item2(50032,1)--50032 candy, to her
syschat("Has received a Valentine's Day gift.")
end
end
end
when login with game.get_event_flag("valentin") == 1 begin
notice("Event: Valentine's Day <3 | Duration : 3 day's ")
end
end
end
/e valentin 1
Iar pentru al opri:
/e valentin 0
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum