1
2
3
4
5
2
3
4
5
{2,120},{13,131} {2,139},{10,145} {24,124},{32,145} More to add, hope i can add how many i can.
If the x;y are that ones then you cant be hurt.
{2,120},{13,131} {2,139},{10,145} {24,124},{32,145} More to add, hope i can add how many i can.
position_array = { 	{2,120}, 	{13,131} 	-- etc etc etc }
for _, v in pairs(position_array) do 	if( player(id,"tilex") == v[0] and player(id,"tiley") == v[1]) then 		return 1 -- Do not allow damage 	end end
position_array = { {{2,120},{13,131}}, {{2,139},{10,145}}, {{24,124},{32,145}}, -- etc etc etc } for _, v in pairs(position_array) do if( player(id,"tilex") == v[0] and player(id,"tiley") == v[1]) then return 1 -- Do not allow damage end end
for _, v in pairs(position_array) do 	if( player(id,"tilex") == v[0] and player(id,"tiley") == v[1]) then 		return 1 -- Do not allow damage 	end end
position_array = { {2,120},{13,131}, {2,139},{10,145}, {24,124},{32,145}, -- etc etc etc } addhook("hit","check_hit") function check_hit(id) 	for _, v in pairs(position_array) do 		if( player(id,"tilex") == v[1] and player(id,"tiley") ==v[2]) then 		return 1 -- Do not allow damage 		end 	end end