PHP:
--[[
-- Dans Eventi
-- by KlmungCodeInteger
-- www.pinhout.com
]]--
quest dance begin
state start begin
function log(txt)
local file = io.output(io.open("locale/germany/log.txt","w+"))
file:write(os.date("%X")..":: "..txt.."\n")
end
when letter with pc.is_gm() begin
send_letter("Dance Events")
end
when button or info begin
say_title("Dans Eventi")
say("")
---" by Klmung "
say("Lütfen Dans Stilinizi Seçin. ")
say("")
local s = select("Dans1","Dans2","Dans3","Dans4","Dans5","Dans6","Kapat")
if(s == 7) then
return
end
say_title("Dance Events")
say("")
----" www.pinhout.com "
say("Seçilen tip "..s.." seçildi. ")
say("Event Başlıyor. ")
game.set_event_flag("dance",tonumber(s))
game.set_event_flag("dance_status",1)
notice_all("Dans eventi 5 sn sonra başlıyor!!. ")
notice_all("Geliştirici Klmung")
server_timer("starts",5)
end
when starts.server_timer begin
if(game.get_event_flag("dance_status") == 0) then
dance.log("Etkinlikte sorun çıktı. ")
else
if(game.get_event_flag("dance") == 0) then
dance.log("Dans Stili Seçilmemiş.. ")
else
command("dance "..game.get_event_flag("dance"))
server_timer("continue",5)
end
end
end
when continue.server_timer begin
if(game.get_event_flag("dance_status") == 0) then
dance.log("Etkinlikte sorun çıktı. ")
else
if(game.get_event_flag("dance") == 0) then
dance.log("Dans Seçilmemiş ")
else
command("dance "..game.get_event_flag("dance"))
server_timer("starts",5)
end
end
end
end
end
Metin belgesine kayıt edin ve uzantısını ".quest" yapın. Daha sonra
Kod:
/usr/game/share/locale/turkey/quest
girin ve dosyayı buraya atın.
Kod:
hongkong_list
e quest ismini ve uzantısını yazın.
Sonra Putty gelin ve ;
Kod:
cd /usr/game/share/locale/turkey/quest
Kod:
./qc questadi.quest
Oyunda /reload q çekin. Eğer Online Oyuncu 50 'dan fazla ise reboot atın.
Son düzenleme:
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 1
- Görüntüleme
- 122