quest santa begin
state start begin
when 20031.chat."Event de Craciun: Panoul de control" begin
say_title("Eventul de craciun:")
if game.get_event_flag("xmas")==0 then
say("Eventul de craciun este oprit.")
say("Vrei sa il pornesti?")
local s1 = select("Da", "Nu")
if s1 == 1 then
say("Eventul a fost oprit!")
game.set_event_flag("xmas", 1)
notice_all("Eventul de craciun tocmai ce a inceput")
notice_all("Incepand de acum puteti dropa")
notice_all("Sosete si cadouri de la toti monstrii")
notice_all("Sarbatori fericite tuturor")
command("e xmas_snow 1")
command("e xmas_song 1")
else
return
end
else
say("Eventul de craciun este pornit")
say("Vrei sa il opresti?")
local s2 = select("Da", "Nu")
if s2 == 1 then
say("Eventul a fost pornit!")
game.set_event_flag("xmas", 0)
notice_all("Eventul de craciun a luat sfarsit")
notice_all("Speram ca ati castigat premii folositoare")
command("e xmas_snow 0")
command("e xmas_song 0")
end
end
end
when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin
local drop = number(1, 75)
if drop == 1 then
game.drop_item_with_ownership(50035, 1)
elseif drop == 2 then
game.drop_item_with_ownership(50036, 1)
elseif drop == 3 then
game.drop_item_with_ownership(50010, 1)
end
end
Cum fac ca playerii sa numai poata dezactiva eventul:?
mos craciun
Inlocuieste linia asta:
Cu :
[ Postat de pe Android ] 
Cod: Selectaţi tot
when 20031.chat."Event de Craciun: Panoul de control" begin Cod: Selectaţi tot
when 20031.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
- Pentru acest mesaj, [Tupeu] for the post:
- pavelsmecher21
Multumesc
- [Andrew]
-

- Mesaje: 1174
- Membru din: 02 Mar 2015, 19:57
- Server: KING2.RO
- Regat: Chunjo
- Aprecieri: 98
- Mulţumiri: 25
- Discord: Copiază ID
- Contact:
T/c subiect rezolvat.
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 7 vizitatori


daca te-am ajutat
