Ma puteti ajuta cu un quest , ca atunci cand tre de o anumita suma de yang , il in loc de yang sa iti dea lingou.
Stiu ca era pe undeva pe aici quest-ul , dar nu il mai gasesc
Cod: Selectaţi tot
--##########################################
--####### Quest facut de DaRealPain #######
--########################################
quest autolingou begin
state start begin
when ITEM_VNUM.use begin
if pc.getqf("yangcheck") == 0 then
pc.setqf("yangcheck", 6)
chat("Lingourile automate sunt activate.")
chat("Vei primi un lingou in valoare de 1kkk")
chat("Yang, de indata ce detii suma de 1kkk Yang.")
timer("check", 1)
elseif pc.getqf("yangcheck") == 6 then
pc.setqf("yangcheck", 0)
chat("Lingourile automate sunt au fost dezactivate")
end
end
when check.timer with pc.getqf("yangcheck") == 6 begin
if pc.money>=1000000000 then
if pc.get_empty_inventory_count() < 1 then
pc.setqf("yangcheck", 0)
say("Inventarul tau este plin, de aceea")
say("lingourile automate au fost dezactivate.")
timer("check1", 1)
else
pc.change_money(-1000000000)
pc.give_item2(ITEM_VNUM)
chat("Ai primit un lingou in valoare de 1kkk.")
timer("check1", 1)
end
else
timer("check1", 1)
end
end
when check1.timer with pc.getqf("yangcheck") == 6 begin
if pc.money>=1000000000 then
if pc.get_empty_inventory_count() < 1 then
pc.setqf("yangcheck", 0)
say("Inventarul tau este plin, de aceea")
say("lingourile automate au fost dezactivate.")
timer("check", 1)
else
pc.change_money(-1000000000)
pc.give_item2(ITEM_VNUM)
chat("Ai primit un lingou in valoare de 1kkk.")
timer("check", 1)
end
else
timer("check", 1)
end
end
when login with pc.getqf("yangcheck") == 6 begin
timer("check", 1)
end
end
end
Utilizatori ce ce navighează pe acest forum: cosminusi93ksm și 45 vizitatori