I got problem with a flashlight hook.
So this is the code:
1
2
3
4
5
2
3
4
5
addhook("flashlight", "flashlight_hook") function flashlight_hook(id, state) 	msg(state) 	msg("working") end
Tell me, Am I missing something? Or is it just CS2D bug?