Forum

> > CS2D > Scripts > Serveraction keys
Forums overviewCS2D overview Scripts overviewLog in to reply

English Serveraction keys

1 reply
To the start Previous 1 Next To the start

old Serveraction keys

D-D3ADxPro
User Off Offline

Quote
Hello guys. I don't really understand what a serveraction key is. I know its buttons that are F2 - F4, but how do you get a menu to be opened by pressing F3, or F4?

old Re: Serveraction keys

Cure Pikachu
User Off Offline

Quote
1
2
3
4
5
6
addhook("serveraction","mymenu")
function mymenu(id,act)
	if act == 1 -- 1 for F2, 2 for F3, 3 for F4
		menu(id,"Test menu,1,2,3")
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview