PeterParker
Ultra Member
- Katılım
- 2 Şub 2025
- Konular
- 350
- Mesajlar
- 599
- Çözümler
- 1
- Tepkime puanı
- 1,002
- Konum
- RealityCheats
- RC Point
- 0
quest zimba_hediye_ver begin
state start begin
when 9010.chat."Gunluk Odulunu Al" begin--NPC Vnum
local last_claim_time = pc.getqf("last_daily_reward")
local current_time = os.time()
if last_claim_time > 0 and current_time - last_claim_time < 86400 then--24 Saatte bir hediye alma hakkı 86400
say("Bugun zaten odul aldin! Yarin tekrar dene.")
return
end
say("Bugunku odulunu almak istiyor musun?")
local choice = select("Evet", "Hayır")
if choice == 2 then
return
end
local rewards = {189, 19, 11299}-- Ödül eşyalar.
local reward_count = table.getn(rewards)
local chosen_reward = rewards[math.random(1, reward_count)]
pc.give_item2(chosen_reward, 1)
pc.setqf("last_daily_reward", current_time)
say("Tebrikler! Bugunku odulunu aldin. Yarin tekrar gel!")
end
end
end
state start begin
when 9010.chat."Gunluk Odulunu Al" begin--NPC Vnum
local last_claim_time = pc.getqf("last_daily_reward")
local current_time = os.time()
if last_claim_time > 0 and current_time - last_claim_time < 86400 then--24 Saatte bir hediye alma hakkı 86400
say("Bugun zaten odul aldin! Yarin tekrar dene.")
return
end
say("Bugunku odulunu almak istiyor musun?")
local choice = select("Evet", "Hayır")
if choice == 2 then
return
end
local rewards = {189, 19, 11299}-- Ödül eşyalar.
local reward_count = table.getn(rewards)
local chosen_reward = rewards[math.random(1, reward_count)]
pc.give_item2(chosen_reward, 1)
pc.setqf("last_daily_reward", current_time)
say("Tebrikler! Bugunku odulunu aldin. Yarin tekrar gel!")
end
end
end