*Problemă/Întrebare: cum blochez acest quest in map 1
Tipologie server(PvM / PvP):
*Resursă folosită: *Link exclusiv J4M*
*ServerFiles utilizat:
quest :
quest quest_spawnmob begin
state start begin
when 71036.use begin
local numar_random = number(1, 5)
if numar_random == 1 then
mob.spawn(191, pc.get_local_x(), pc.get_local_y(), 1) -- mob.spawn
end
if numar_random == 2 then
mob.spawn(194, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 3 then
mob.spawn(591, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 4 then
mob.spawn(494, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 5 then
mob.spawn(5115, pc.get_local_x(), pc.get_local_y(), 1)
end
pc.remove_item(71036, 1)
end
end
end
Poză:
*Detalii suplimentare: cum pot face sa nu se mai poata folosi acest itm in map 1 ?
cum blochez acest quest in map 1 ?
- .Z3U
-

- Mesaje: 354
- Membru din: 22 Mar 2020, 20:11
- Server: Heroes2
- Regat: Jinno
- Aprecieri: 214
- Mulţumiri: 678
- Discord: Copiază ID
- Contact:
Incerca asa
quest quest_spawnmob begin state start begin when login with pc.get_map_index == 41 begin return end when 71036.use begin local numar_random = number(1, 5) if numar_random == 1 then mob.spawn(191, pc.get_local_x(), pc.get_local_y(), 1) -- mob.spawn end if numar_random == 2 then mob.spawn(194, pc.get_local_x(), pc.get_local_y(), 1) end if numar_random == 3 then mob.spawn(591, pc.get_local_x(), pc.get_local_y(), 1) end if numar_random == 4 then mob.spawn(494, pc.get_local_x(), pc.get_local_y(), 1) end if numar_random == 5 then mob.spawn(5115, pc.get_local_x(), pc.get_local_y(), 1) end pc.remove_item(71036, 1) end end end
- xKozeD.
-

- Mesaje: 599
- Membru din: 18 Sep 2015, 19:23
- Aprecieri: 152
- Mulţumiri: 1696
- Discord: Copiază ID
- Contact:
testează, n am încercat.
up ma poate ajuta cineva sa fac acest quest
quest quest_spawnmob begin
state start begin
when 71036.use with (pc.get_map_index() != 41 ) begin
local numar_random = number(1, 5)
if numar_random == 1 then
mob.spawn(191, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 2 then
mob.spawn(194, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 3 then
mob.spawn(591, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 4 then
mob.spawn(494, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 5 then
mob.spawn(5115, pc.get_local_x(), pc.get_local_y(), 1)
end
pc.remove_item(71036, 1)
end
end
end
pentru 3 mape?
quest quest_spawnmob begin
state start begin
when 71036.use with (pc.get_map_index() != 41 ) begin
local numar_random = number(1, 5)
if numar_random == 1 then
mob.spawn(191, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 2 then
mob.spawn(194, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 3 then
mob.spawn(591, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 4 then
mob.spawn(494, pc.get_local_x(), pc.get_local_y(), 1)
end
if numar_random == 5 then
mob.spawn(5115, pc.get_local_x(), pc.get_local_y(), 1)
end
pc.remove_item(71036, 1)
end
end
end
pentru 3 mape?
- Ionuţ M.
-

- Mesaje: 2680
- Membru din: 28 Noi 2015, 22:02
- Aprecieri: 170
- Mulţumiri: 12723
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Baidu [Spider], sanducatalin1 și 33 vizitatori

