PDA

View Full Version : [Quest]Protectie-Mapa



Mihai.!?
12-01-17, 17:35
Nume:[Quest]Protectie-Mapa
Descriere: 0
Imagini: 0
Quest/arma/armura/etc: 0
Download(Optional):0

quest prot_harta begin

state start begin

when login or levelup with pc.get_map_index() == 75 or pc.get_map_index() == 79 or pc.get_map_index() == 80 begin

if pc.get_level() <= 40 then

syschat("Nu ai ce cauta aici la acest nivel!")
syschat("Vei fi teleportat imediat, www.just4metin.ro")

local empire = pc.get_empire()

if empire == 1 then
pc.warp(474300,954800)
elseif empire == 2 then
pc.warp(63800,166400)
elseif empire == 3 then
pc.warp(959900,269200)

end

end

end

end
end

Tutorial instalare quest:
Salvati continutul quest-ului īntr-un fisier text numit de exemplu nume_quest.quest
Va conectati la filezilla / winscp si īntrati īn /usr/home/game/share/locale/germany/quest (depinde ce server aveti).
Īl puneti acolo (sa fie .quest sau .lua) si da-ti permisiuni 777.
Te loghezi īn FreeBSD / putty si scrii īn felul urmator: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
Intrati pe server si scrieti /reload q
Testati quest-ul.
[Quest]Protectie-Mapa