It is no armor. It behaves like the night vision or the defusekit. It's a slotless equipment item.
Unfortunately I forgot to add the right functionality to the player command. Otherwise you would be able to use it to detect if a player has a gas mask or not. I'll add this for the next release.
addhook("second","healsystem")
function healsystem()
for id=1,32 do
if player(id,"item")==60 then
parse("sethealth "..id.." "..player(id,"health")+2)
end
end
end
EDT; i just realised. it never worked
EDT2: oh sorry. i never realised.. please remove this topic pelase
this is my script for the future
You can't do it with the current version as I already tried to explain!
NEXT VERSION (NOT NOW) you'll be able to use
1 2 3
if player(id,"gasmask") then
	-- do healstuff
end
player(id,"item") doesn't work because this always returns the currently selected weapon in the hand of the player. The player NEVER uses the gasmask as weapon in its hand.
No, the server is not aware of the night vision state. Also this is not a suggestion thread. Please use the idea thread if you want to suggest new things.