Hey, I saw the new helmets you added in ("H_HelmetO_ViperSP_ghex_F").
The only problem is the thermal vision mode. I would like to prevent players on the server to use the thermal vision mode. I can get the current vision mode with the script command:
currentVisionMode player
But if I want to change the current vision mode, I can just script around the lack of possibilities like that:
player addHeadgear"H_HelmetO_ViperSP_ghex_F"; (finddisplay 46)displayAddEventHandler["KeyDown",{ _r=false; if((_this select 1)in(actionKeys'NightVision')&¤tVisionMode player==1&&headgear player=='H_HelmetO_ViperSP_ghex_F')then{ removeHeadgear player; player addHeadgear"H_HelmetO_ViperSP_ghex_F"; _r=true }; _r}];
I would like to see a script command like:
player disableVisionMode 2;
Greets,
Molaron