Forum




Menu by Use Key
10 replies




you mean USE key button?
and its possible by...

how?

and

1
2
3
4
5
6
2
3
4
5
6
addhook("use","shop") function shop(id,event,data,x,y) 	if (x == 43 and y == 62) then 		menu(id,"Shop,Weapons,Equipment,Weapon Sets") 	end end
you have to use the server action keys and hooks.
edit: dc why you post faster!

1
2
3
4
5
6
2
3
4
5
6
addhook("use","trigger") function trigger(id,x,y) 	if (x == 43 and y == 62) then 		menu(id,"Shop,Weapons,Equipment,Weapon Sets") 	end end
Im not sure if it will work :))
edited 1×, last 21.12.11 02:52:00 pm




