Jump to content

Ayuda Sistema de pelotas de futbol


kaoba

Mensajes recomendados

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

 

Enlace para comentar
Compartir en otros sitios

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

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...