I need a lua, coordinates and enters where there is there 0DMG
Forum
CS2D Scripts 0Dmg Zone0Dmg Zone
1 reply 1
I need a lua, coordinates and enters where there is there 0DMG
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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
nodmgzones = { 	[1] = { 		[1] = {tilex, tiley}, 		[2] = {tilex, tiley} 	}, 	[2] = { 		[1] = {tilex, tiley}, 		[2] = {tilex, tiley} 	} } addhook('hit', 'AA_hit') function AA_hit(id, source) 	local a = false 	for i = 1, #nodmgzones do 		if (player(id, 'tilex') >= nodmgzones[i][1][1] and player(id, 'tiley') >= nodmgzones[i][1][2] and player(id, 'tilex') <= nodmgzones[i][2][1] and player(id, 'tiley') <= nodmgzones[i][2][2]) or (player(source, 'tilex') >= nodmgzones[i][1][1] and player(source, 'tiley') >= nodmgzones[i][1][2] and player(source, 'tilex') <= nodmgzones[i][2][1] and player(source, 'tiley') <= nodmgzones[i][2][2]) then 			a = true 			break 		end 	end 	if a == true then 		return 1 	end end
1