regards,
Forum
CS2D Scripts Force a player to use a bind.Force a player to use a bind.
7 replies 1
regards,
example like:
"Type the button to do Reload"
and you have to say "R" or "r", w/e.
then next and etc.
Cure Pikachu has written
how that's working ?
1
2
2
addbind("space") parse('bind space "say !help"')
@ Mora I want something that forces them not ask them for writing binds
like this
1
2
3
4
2
3
4
timer(40,"playerbind","") function playerbind() parse(bind leftalt "say !help") end
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
addbind("space") -- Add a custom bind for spacebar addhook("key","_keybind") function _keybind(id,key,state) -- id parameter is for player id 	if state == 1 then -- If key is *only* pressed down 		if key == "space" then -- If key is spacebar 			-- Whatever saying !help is supposed to do, put it here 		end 	end end
parse('bind space "say !help"')in there
menu(id,"Admin Menu,Mouse actions,Teleport,Save,Reload")
xdd thank you it works i just miss something there
1