1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
addhook("drop","silahdusurud") function silahdusurud(id,iid,ty,ain,a,m,x,y) if player(id,"health") > 0 and player(id,"weapontype") ~= 50 and Player[id].droptime == 0 then Player[id].droptime = 3 Player[id].idrop = image('gfx/csgo/hud/hud_alert.png',320,320,2,id) imagescale(Player[id].idrop,1.6,1) parse('hudtxt2 '..id..' 1 "©250000000 Alert! " 290 300 1') parse('hudtxt2 '..id..' 2 "©255255255 You dropped your '..itemtype(ty,"name")..'. " 350 325 1') end end addhook("second","dropitemyok") function dropitemyok() for id = 1, 32 do if Player[id].droptime > 1 then Player[id].droptime = Player[id].droptime - 1 elseif Player[id].droptime == 1 then 	Player[id].droptime = Player[id].droptime - 1 	tween_alpha(Player[id].idrop,1000,0) 	parse('hudtxtalphafade "..id.." 1 1000 0') 	parse('hudtxtalphafade "..id.." 2 1000 0') else 	freeimage(Player[id].idrop) 	Player[id].idrop = nil end end end
The second hook not working, why?
Thanks.