Domanda Cerco aiuto su una quest per Metin2 :)

Stato
Discussione chiusa ad ulteriori risposte.

Belfaghor

Bannato
7 Maggio 2013
444
7
183
159
Ciao a tutti,
come da titolo, cerco qualcuno che mi può modificare questa quest:
quest tel begin state start begin
when login or levelup with pc . get_level ( ) >= 75 begin
set_state(inizio)
end
end
state inizio begin
when 9012.chat."Nome Mappa" begin
if 3600 < get_global_time() - pc.getqf("rip") then
say_title("Teleporter:")
say("Ciao...")
say("Vuoi andare nella Nome Mappa?")
say_reward("Per viaggiare dovrai pagare 10000000 yang")
say_reward("e consegnarmi un item speciale:")
say_item_vnum(279)
s = select("Si","No")
if s == 2 then
else
say_title("Teleporter:")
say("Vuoi continuare?")
say_reward("Potrai rimanere nella mappa solo")
say_reward("per 30 minuti.")
say("Ti verrano tolti tutti i papiri luogo!")
a = select("Si","No")
if a == 2 then
else
if pc . gold >= 10000000 and pc . count_item ( 279 ) >= 1 then
pc . changegold ( - 10000000 )
pc . remove_item ( 279 , 1 )
a = pc . count_item ( 22010 )
pc . remove_item ( 22010 , a )
set_state (map)
pc . warp ( X , Y )
end
end
end
else
say ( "Devi Aspettare 1 Ora Prima[ENTER]Di Poter Essere Teleportato Di Nuovo" )
end
end
end
state map begin
when login with pc . get_map_index ( ) == 1 begin
timer ("map",1800)
end
when map.timer begin
say ( "Tempo Scaduto." )
set_state (start)
wait()
if pc . get_empire ( ) == 1 then
pc . warp ( 469300 , 944200 )
elseif pc . get_empire ( ) == 2 then
pc . warp ( 63200 , 166500 )
elseif pc . get_empire ( ) == 3 then
pc . warp ( 969300 , 278400 )
end
end
end end

In pratica permette di entrare in una mappa per un tempo di 30 minuti in cambio di un item..
Volevo sapere se si poteva impostare che in quei 30 minuti che un pg è all'interno, non potesse entrare nessun altro finché la mappa è occupata.
Qualcuno potrebbe farmi sapere come fare?
Io purtroppo sono ignorante al riguardo, per questo chiedo aiuto.:)
Oltre al +1, un grazie di cuore a chi mi aiuta .
Ciao :)
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom