Cod: Selectaţi tot
[spoiler]quest puntos_metin beginstate start begin
when 11506.kill or 11507.kill or 8035.kill begin
local metin = {
[11506] = {1,"??"},
[11607] = {1,"??"},
[8035] = {1,"Metin of Redemption"},
}
pc.give_item2("70029",metin[npc.get_race()][1])
chat("Ai distrus un "..metin[npc.get_race()][2]..", obti "..metin[npc.get_race()][1].." puncte!")
end
when 20092.chat."Premi cu puncte!" begin
say_title("Premi cu puncte!")
say("")
say("Salut "..pc.get_name().." aici poti sa cheltuiesti punctele tale")
say("care le poti castiga distrugand")
say("metinele care le vei gasi pe server!")
say("")
say("Fiecare metin iti va da 1 punct")
say("In acest moment ai "..pc.count_item("30157").." puncte")
say("")
say("Ce vrei sa faci?")
say("")
local canj = select ("Cumpara" , "Iesire")
if canj == 1 then
say_title("Premi cu puncte!")
say("")
local elegir = select("Perla Alba","Perla Albastra","Perla Rosie","5 Bonus","Panda","Metal Magic","Cec 1,5kkk","Iesire")
local premios = {
{43489,1,70029,20000},
{43389,1,70029,20000},
{43289,1,70029,20000},
{43189,1,70029,20000},
{9729,1,70029,15000},
{9649,1,70029,15000},
{609,1,70029,15000}
{60549,1,70029,15000}
}
if elegir != 8 then
if pc.count_item(premios[elegir][3]) < premios[elegir][4] then
say_title("Premi cu puncte!")
say("")
say("Imi pare rau, dar nai punctele necesare")
say("pentru a cumpara acest item")
say("")
say("Mai ai nevoie de "..premios[elegir][4]-pc.count_item(premios[elegir][3]).." pentru al cumpara")
say("revino cand ai toate punctele necesare")
say("")
return
end
pc.give_item2(premios[elegir][1],premios[elegir][2])
pc.remove_item(premios[elegir][3],premios[elegir][4])
end
end
end
end
end[/spoiler]Zice-ti voi ce taburi am va rog sau ce e gresit ;( sau editati-l si punetimi-l aici cu aceleasi premii va rog dar am uitat sa pun numele la alea la premii!!!






