i have trouble with my scripts
My scripts is Working fine And hook is added to cs2d.
but i click it is not any action?
can you fix this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--------- EXAMPLE -----------
addhook("attack", "_attack")
function _attack(id)
reqcld(id, 2);
end
addhook("clientdata", "_cd")
function _cd(id, mode, data1, data2)
if mode == 2 then
if data1 > 1 and data1 < 2 then
		if data2 > 4 and data2 < 5 then
		 msg("Test")
		end
		end
end
end
#SorryForMyEnglish.
Thanks.
This Lua Working, but Nothing Action?
1 
Offline

Rygna