Jump to content

Ayuda Sistema de pelotas de futbol


kaoba

Recommended Posts

Escribe con el gm /e balones y ya tienes

quest balones begin
state start begin
when npcid.chat."intercambio de balones" with game.get_event_flag("balones")== 1 begin
say("texto")
say_item_vnum(idbalon)
local s = select("intercambiar","no")
if s == 1 then
  if pc.count_item(idbalon) < 4 then
    say("necesitas cuatro para intercambiar")
    return end
  pc.give_item2(balonoro,4)
  pc.remove_item(idbalon,4)
  end
end
when kill with not npc.is_pc() and game.get_event_flag("balones")== 1 begin
local prob = number(1,100)
if prob == 5 then
game.drop_item_with_ownership(idbalon,1)
end
end
end

 

Link to comment
Share on other sites

hace 3 horas, Dilong dijo:

Escribe con el gm /e balones y ya tienes


quest balones begin
state start begin
when npcid.chat."intercambio de balones" with game.get_event_flag("balones")== 1 begin
say("texto")
say_item_vnum(idbalon)
local s = select("intercambiar","no")
if s == 1 then
  if pc.count_item(idbalon) < 4 then
    say("necesitas cuatro para intercambiar")
    return end
  pc.give_item2(balonoro,4)
  pc.remove_item(idbalon,4)
  end
end
when kill with not npc.is_pc() and game.get_event_flag("balones")== 1 begin
local prob = number(1,100)
if prob == 5 then
game.drop_item_with_ownership(idbalon,1)
end
end
end

 

Lo malo es. Que no tengo los balones que caen al piso que se que es un balon el gr2

Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...