i got problem with knockback
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
28
29
30
31
32
33
34
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
28
29
30
31
32
33
34
recoil_factor = 3 addhook('hit','knockback') function knockback(id,source,weapon) local killer_x = player(source,'x') local killer_y = player(source,'y') local victim_x = player(id,'x') local victim_y = player(id,'y') local recoil = itemtype(weapon,'recoil') * recoil_factor 	if player(id,"team")==1 then 	if player(source,'exists') then 		if killer_x > victim_x then 			if tile(player(id,'tilex') - 1,player(id,'tiley'),'walkable') then 				parse('setpos '..id..' '..(player(id,'x') - recoil)..' '..player(id,'y')) 			end 		end 		if killer_x < victim_x then 			if tile(player(id,'tilex') + 1,player(id,'tiley'),'walkable') then 				parse('setpos '..id..' '..(player(id,'x') + recoil)..' '..player(id,'y')) 			end 		end 		if killer_y > victim_y then 			if tile(player(id,'tilex'),player(id,'tiley') - 1,'walkable') then 				parse('setpos '..id..' '..player(id,'x')..' '..(player(id,'y') - recoil)) 			end 		end 		if killer_y < victim_y then 			if tile(player(id,'tilex'),player(id,'tiley') + 1,'walkable') then 				parse('setpos '..id..' '..player(id,'x')..' '..(player(id,'y') + recoil)) 			end 		end	 	end end end

whats the problem?