Problemă: Am incercat sa modific personal inelul de teleport in asa fel incat sa am doar 3 locatii, Map1 pentru fiecare regat, dar nu reusesc.
Tipologie server(PvM / PvP): PvP - PvM
Resursă folosită:
ServerFiles utilizat: Happiness
Syserr:
Poză:
Detalii suplimentare: Questul folosit:
local regat = pc . get_empire ( )
say_title ( "Happiness II:" )
say_size ( 350 , 335 )
say_white ( "Bunã!" )
say_white ( "Unde doreºti sã fii teleportat?" )
say_white ( "" )
local mandi = select ( "Map1" , "Map2" , "Valea Seungryong" , "Deºertul Yongbi" , "Muntele Sohan" , "Doyyumhwan" , "Next" )
if mandi == 1 then
say_title ( "Happiness II:" )
say_size ( 350 , 250 )
say_white ( "Bunã!" )
say_white ( "Unde doreºti sã fii teleportat?" )
say_white ( "" )
local map1 = select ( "Regatul Roºu" , "Regatul Galben" , "Regatul Albastru" , "Închide" )
if map1 == 1 then
pc . warp ( 473900 , 954600 )
return
end
if map1 == 2 then
pc . warp ( 63200 , 166700 )
return
end
if map1 == 3 then
pc . warp ( 959600 , 269700 )
return
end
end
if mandi == 2 then
say_title ( "Happiness II:" )
say_size ( 350 , 250 )
say_white ( "Bunã!" )
say_white ( "Unde doreºti sã fii teleportat?" )
say_white ( "" )
local map2 = select ( "Regatul Roºu" , "Regatul Galben" , "Regatul Albastru" , "Închide" )
if map2 == 1 then
pc . warp ( 352300 , 882700 )
return
end
if map2 == 2 then
pc . warp ( 145700 , 239800 )
return
end
if map2 == 3 then
pc . warp ( 863800 , 246000 )
return
end
end
if mandi == 3 then
pc . warp ( 332700 , 745600 )
return
end
if mandi == 4 then
if regat == 1 then
pc . warp ( 217800 , 627200 )
return
end
if regat == 2 then
pc . warp ( 221900 , 502700 )
return
end
if regat == 3 then
pc . warp ( 344000 , 502500 )
return
end
end
if mandi == 5 then
pc . warp ( 436200 , 215300 )
return
end
if mandi == 6 then
if regat == 1 then
pc . warp ( 599400 , 756300 )
return
end
if regat == 2 then
pc . warp ( 597800 , 622200 )
return
end
if regat == 3 then
pc . warp ( 730700 , 689800 )
return
end
end
if mandi == 7 then
say_title ( "Happiness II:" )
say_size ( 350 , 335 )
say_white ( "Bunã!" )
say_white ( "Unde doreºti sã fii teleportat?" )
say_white ( "" )
local mandi2 = select ( "Turnul Demonilor" , "Kuahlo Dong" , "Lungsam" , "Pãdurea Roºie" , "V4" , "Temniþa Maimuþelor" , "Închide" )
if mandi2 == 1 then
pc . warp ( 590400 , 110500 )
return
end
if mandi2 == 2 then
pc . warp ( 91900 , 525400 )
return
end
if mandi2 == 3 then
pc . warp ( 289000 , 5800 )
return
end
if mandi2 == 4 then
say_title ( "Padurea Rosie:" )
say ( "" )
local padure = select ( "Inceput" , "Sfarsit" )
if padure == 1 then
pc . warp ( 1.1199e+06 , 70800 )
end
if padure == 2 then
pc . warp ( 1.1192e+06 , 7000 )
end
end
if mandi2 == 5 then
pc . warp ( 153600 , 1.2032e+06 )
return
end
if mandi2 == 6 then
pc . warp ( 819200 , 51200 )
return
end
end
Inel Teleport
- FRANCIS
-

- Mesaje: 7879
- Membru din: 06 Noi 2015, 19:52
- Regat: Chunjo
- Aprecieri: 334
- Mulţumiri: 54529
- Discord: Copiază ID
Cod: Selectaţi tot
quest NEWTP begin
state start begin
when login begin
cmdchat("Telep "..q.getcurrentquestindex())
end
when button or info begin
local x
local y
local t
local e = pc.get_empire()
say_title ( "Metin2-Online" )
say_title ( "Teleport:" )
say ( "Salut," )
say ( "Unde vrei sa te duci?" )
local main_set = select ("PvP MAP (MOMENTAN)","DESERTUL","GROTA (V3) INCEPUT","Urmatoarea Pagina")
if main_set == 1 then
pc.warp ( 972800 , 153600 )
elseif main_set == 2 then
pc.warp ( 344000 , 502500 )
elseif main_set == 3 then
pc.warp ( 0 , 1203200 )
elseif main_set == 4 then
local main_set2 =select ("MAP 1 ALBASTRI","MAP 2 ALBASTRI","MAP 1 GALBENI","MAP 2 GALBENI","MAP 1 ROSI","MAP 2 ROSI","Nu mai vreau, multumesc.")
if main_set2 == 1 then
pc.warp ( 959600 , 269700 )
elseif main_set2 == 2 then
pc.warp ( 863800 , 246000 )
elseif main_set2 == 3 then
pc.warp ( 63200 , 166700 )
elseif main_set2 == 4 then
pc.warp ( 145700 , 239800 )
elseif main_set2 == 5 then
pc.warp ( 473900 , 954600 )
elseif main_set2 == 6 then
pc.warp ( 352300 , 882700 )
elseif main_set2 == 7 then
return
end
end
end
end
end-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 22 vizitatori



