plese teach me and thank you all
if you know how
sorry for my bad engilsh
Scripts
how can press E buy house and f2 = menu?
how can press E buy house and f2 = menu?
1

addhook("serveraction","mymemu")
function mymenu (id,act)
	if act == 1 then
		menu (id,"Menu title,button1,button2,button3,button4,button5,button6,button7,button8,button9")
	end
end
useigor
hunter139: You made it in serveraction, not use. And he wants to do it with X Y (I assume) because he mentions buying a house.addhook("use","_use")
function _use(id,event,data,x,y)
if x == 1 and y == 1 then -- you position have buton
menu(id,"Menu Config, Buton 1,Buton 2|Laser,Buton 3|Laser,Buton 4|Laser,Buton 5|Laser,Buton 6|Laser,Buton 7|Laser,Buton 8|Laser,Buton 9|Laser")
end
end
addhook("menu","_menu")
function _menu(id,title,buton)
if tible == "Menu Config" then
if buton == 1 then -- Buton 1 Menu
parse (" COMAND ") or COMAND -- here use you comand buton 1
elseif buton == 2 then
parse ("equip "..id.." 45")
elseif buton == 3 then
parse ("equip "..id.." 45")
elseif buton == 4 then
parse ("equip "..id.." 45")
elseif buton == 5 then
parse ("equip "..id.." 45")
elseif buton == 6 then
parse ("equip "..id.." 45")
elseif buton == 7 then
parse ("equip "..id.." 45")
elseif buton == 8 then
parse ("equip "..id.." 45")
elseif buton == 9 then
parse ("equip "..id.." 45")
end
end
end
useigor
very very thank ~~~
1
