function teleport(id,title,button)
if title == "Music" then
if button == 3 then
parse ("setpos "..id.." 2290 108")
end
end
end
end
--- this not work, please fix it
addhook("menu","teleport") function teleport(id,title,button) if title == "Music" then if button == 3 then parse ("setpos "..id.." 2290 108") end end end
addhook("menu","teleport") function teleport(id,title,button) 	if title~="Music" then 		return 0 	end 	if button==3 then 		parse("setpos "..id.." 2290 108") 	end end addhook("serveraction","_serveraction") function _serveraction(id,action) 	menu(id,"Music,,,Teleport") end