DannyDeth has written
@Mc_BowlingHead:
meh, not trigger_use. Rather edit control.cfg or autoexec.cfg to something like this: ( in autoexec.cfg )
Then, in your script:
meh, not trigger_use. Rather edit control.cfg or autoexec.cfg to something like this: ( in autoexec.cfg )
1
bind "E" "say ^!01"
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("say","check_say") function check_say(id,txt) 	if string.sub(txt,1,2) == "\^!" then 		func = loadstring("_f"..string.sub(txt,3,4).."()") 		func() 	end end function _f01() -- the player has pressed the use key 	-- bla bla code stuff removing wall n shit. end
Yeah
That should work!