Nobo is right. All weapons should be indexed but that's a complete overhead for such a trivial task not to mention mapping weird stuff for useless reasons is calling for troubles..

Also; I don't think that flamer and pf should be available under water at all..so to keep it simple;
- g_allowUnderwater "1" = Allows SMG's & Handguns
- g_allowUndewater "2" = Allows Handguns only.