1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function build(id,kind,x,y,mode,objectid) 		if kind == 23 then 			objectid = b_portal[id] 		end 		if kind == 22 then 			objectid = o_portal[id] 		end 		return 0 	end 	function projectile(id,weapon,x,y) 		if weapon == 51 then 			if object(o_portal[id],"tilex") == x and object(o_portal[id],"tiley") == y then 				killobject(o_portal) 			end 			if object(b_portal[id],"tilex") == x and object(o_portal[id],"tiley") == y then 				killobject(b_portal) 			end 		end 	end
main question would be is a portal considered a projectile or an object, seems like it would be both. then how will i be able to hook it?
inb4 no hook/variable set.