Buna ziua comunitate .. as dorii si eu un quest pentru inel teleport insa sa fie pvp.
Sa aiba doar :
Map1 ( Rosu / Galben / Albastru )
V3 ( la inceput )
Taramul Gigantilor.
Daca cineva care se pricepe poate sa faca unu este bine venit.
[Cerere] Quest
Am modificat eu un quest .. insa i-mi da erroare ::
teleport.lua:6:expecting 'when' or 'function'
teleport.lua:6:expecting 'when' or 'function'
Cod: Selectaţi tot
quest teleport begin
state start begin
when login begin
cmdchat("Teleport "..q.getcurrentquestindex())
end
say_title ( "Inel de Teleportare:" )
say ( "Vrei Sa Mergi In Alt Regat?" )
local s = select ( "Regatul Rosu (Map1)" , "Regatul Galben (Map1)" , "Regatul Albastru (Map1)" , "PvP Map" , "Farm Map" , "Inapoi")
if s == 1 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 469300 , 964200 )
elseif s == 2 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 55700 , 157900 )
elseif s == 3 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 969600 , 278400 )
elseif s == 4 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 10000 , 1214200 )
elseif s == 5 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 854100 , 745900 )
end
end
end
end
Cod: Selectaţi tot
quest Teleport_ring begin
state start begin
when 70007.use begin
say_title ( "Inel de Teleportare:" )
say ( "Vrei Sa Mergi In Alt Regat?" )
local s = select ( "Regatul Rosu (Map 1)" , "Regatul Rosu (Map 2)" , "Regatul Galben (Map 1)" , "Regatul Galben (Map 2)" , "Regatul Albastru (Map1)" , "Regatul Albastru (Map 2)" , "Inapoi")
if s == 1 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 469300 , 964200 )
elseif s == 2 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 360800 , 877600 )
elseif s == 3 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 55700 , 157900 )
elseif s == 4 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 138500 , 234900 )
elseif s == 5 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 969600 , 278400 )
elseif s == 6 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 873100 , 242600 )
end
end
end
endAsta trebuie sa mearga !
Multam dar deja am rezolvat.
Ca sa geseasca si altii questul dat de mine mai jos este pe inel teleportare care este implementat ca si buton.
Cu icon.
Cel de mai de sus este pentru inel cod 70007 .
Ca sa geseasca si altii questul dat de mine mai jos este pe inel teleportare care este implementat ca si buton.
Cu icon.
Cel de mai de sus este pentru inel cod 70007 .
Cod: Selectaţi tot
quest teleport 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("Teleporter:")
say("Încotro vrei sa mergi straine?")
local s = select ( "Map1 Rosu" , "Map1 Galben" , "Map1 Albastru" , "PvP Map" , "Farm Map" , "Inapoi")
if s==1 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 469300 , 964200 )
elseif s == 2 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 55700 , 157900 )
elseif s == 3 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 969600 , 278400 )
elseif s == 4 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 10000 , 1214200 )
elseif s == 5 then
say_title ( "Inel de Teleportare:" )
say ( "Te Voi Teleporta Acolo!" )
wait ( )
pc . warp ( 854100 , 745900 )
end
end
end
end
- FastReview
-

- Mesaje: 2624
- Membru din: 25 Oct 2015, 00:01
- Aprecieri: 77
- Mulţumiri: 111
- Discord: Copiază ID
Cerere rezolvata, mutat.
Răspunsuri
6 Vizualizări
352
6 Vizualizări
352
Răspunsuri
2 Vizualizări
463
2 Vizualizări
463
Răspunsuri
5 Vizualizări
1777
5 Vizualizări
1777
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori


