That why I come to here to ask if someone able to help me and thanks btw
Forum
CS2D Scripts How to disable hook for 1round in 60 minHow to disable hook for 1round in 60 min
2 replies 1
That why I come to here to ask if someone able to help me and thanks btw
Though it would be smarter to just combine them but whatever.
but i would suggest something like:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("<your hook>","switchfunc") function original_one(params) 	//do something end function original_two(params) 	//do something else end function switchfunc(params) 	if condition then 		original_one(params) 	else 		original_two(params) 	end end
edit: Mami Tomoe was faster
1