
This is my quest for activate premium:
quest premium_user begin
state start begin
when login with pc.getqf("premium_user")==1 and not npc.is_pc() begin
end
when 70010.use with pc.getqf("premium_user")==0 begin
say_title("VIP systém")
say("")
say("Chceš být VIP a získat jedinečné výhody ?")
say("Stačí si VIP aktivovat a")
say("a výhody tě neminou!")
say("")
say_title("Chceš se stát VIP členem ?")
local s = select("Ano", "Ne")
if s == 1 then
pc.remove_item(70010, 1)
pc.setqf("premium_user", 1)
else
return
end
end
end
end
After click on item 70010 it should be activate Premium (Give me premium_user==1), but when i go to premium shop , it write me , i have not got premium ...
I must click on item every 3second to go to premium shop :/
What to do ?
Here is my premium shop quest:
HTML Code:
quest premium_shop begin
state start begin
when login with pc.getqf("premium_user")==1 and not npc.is_pc() begin
end
when 9010.chat."VIP obchod" with pc.getqf("premium_user")==0 begin
say_title("She-An")
say("")
say("Zdravím tě!")
say("Takže ty bys chtěl nakupovat v mém obchodě ?")
say("Lituji, ale abys zde mohl nakupovat , musíš být VIP členem.")
say("Až budeš patřit k VIP členům,")
say("ráda tě uvidím.")
end
when 9010.chat."VIP obchod" with pc.getqf("premium_user")==1 begin
say_title("She-An")
say("")
say("Zdravím tě!")
say("Vítej v mém speciálním obchodě.")
say("Jak už jistě víš , VIP členové tu mají jisté výhody.")
say("U mě můžeš nakoupit speciální předměty,")
say("které si nikdo nemůže dovolit.")
say("")
say_title("Chceš vstoupit do obchodu?")
local s = select("Ano", "Ne")
if s == 1 then
npc.open_shop(18)
else
return
end
end
end
end






