Ty but the quest doesn't work,it never goes out of first when,when i click it always ask me if i want a friend xD And you can edit it that you can add your friend and teleport at him if he is online ?Quote:
PHP Code:quest bind begin
state start begin
when 40003.use with game.get_event_flag(nume) == 0 begin
say_title("Bind System:")
say("Do you want to have a friend ?")
local a = select("Yes","No!")
if a == 1 then
say_title("Bind System:")
say_reward("Tell me your friend's name")
local nume = pc.get_name()
local name = input()
if pc.get_level() < 35 then
say_title("Bind system:")
say("You can't use this item")
else
game.set_event_flag(nume, 1)
game.set_event_flag(name, 1)
pc.remove_item(40003, 1)
end
end
end
when 40003.use with game.get_event_flag(nume) == 1 begin
say_title("Bind System")
say("Do you want to teleport at your friend ?")
local b = select("Yes","No!")
if b == 1 then
pc.teleport(name)
end
end
end
end
------
Asks that if you want to make them it would be great :) :
--If you and your friend are in same map ( get index map ) receive a bonus
--When your friend or you log out the bonus dissapear