I use hook "hit" to ignore damage from gas and molotov but if I go into the gas or molotov damage isn't ignored.
It look like this:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("hit","pyrohit") function pyrohit(id,source,wpn,dmg) 	if wpn==72 then 		if pyro[id]==1 then 			return 1 		end 	end 	if wpn==73 then 		if pyro[id]==1 then 			return 1 		end 	end end