Jump to content
4ss

Correcion de una quest plz

Recommended Posts

4ss    0

Hola, esta quest yo ha necessito pero me da un error que es

 

qc in malloc(): error: allocation failed

la quest es esta

 

quest dropmoobs begin
state start begin
when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 then
   local sks = number(1,30)
			if sks == 1 then
				game.drop_item(90003, 1)
			end
		end
end

alguien que me ayude plz :c

Share this post


Link to post
Share on other sites

Hola, esta quest yo ha necessito pero me da un error que es

 

qc in malloc(): error: allocation failed

la quest es esta

 

quest dropmoobs begin
state start begin
when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 then
   local sks = number(1,30)
			if sks == 1 then
				game.drop_item(90003, 1)
			end
		end
end

alguien que me ayude plz :c

 

quest dropmoobs begin
state start begin
when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 then
   local sks = number(1,30)
			if sks == 1 then
				game.drop_item(90003, 1)
			elseif sks != 1 then
			 return
			end
		end
end
end

prueba así

Share this post


Link to post
Share on other sites
4ss    0

quest dropmoobs begin
state start begin
when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 then
   local sks = number(1,30)
			if sks == 1 then
				game.drop_item(90003, 1)
			elseif sks != 1 then
			 return
			end
		end
end
end

prueba así

 

 

 

nop, esso no le da SeMa :x

Share this post


Link to post
Share on other sites

nop, esso no le da SeMa :x

 

Esta si:

 

 

quest dropmoobs begin

state start begin

when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 begin

local sks = number(1,30)

if sks == 1 then

game.drop_item(90003, 1)

elseif sks != 1 then

return

end

end

end

end

Share this post


Link to post
Share on other sites

quest dropmoobs begin

state start begin

when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 begin

local sks = number(1,30)

if sks == 1 then

game.drop_item(90003, 1)

elseif sks != 1 then

return

end

end

end

 

 

Esta sí xd

Share this post


Link to post
Share on other sites

quest dropmoobs begin

state start begin

when kill with not npc.is_pc() and pc.get_map_index() == 401 and pc.get_level() <= 120 begin

local sks = number(1,30)

if sks == 1 then

game.drop_item(90003, 1)

elseif sks != 1 then

return

end

end

end

 

 

Esta sí xd

 

Te borro el comentario de antes por el fallo ^^

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...