Forum
CS2D Scripts Menu by Use KeyMenu by Use Key
10 replies 1
you mean USE key button?
and its possible by...
lua
how?
http://cs2d.com/help.php?hookcat=all&hook=trigger#hook
and
http://cs2d.com/help.php?hookcat=all&hook=menu#hook
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
1