write if !(isServer) exitwith {}; this hideObjectGlobal true in an object/unit init field. Run preview or SP mission or when in MP, look at this object after JIP.
I know the condition if !(isServer) exitwith {}; makes the JIP can't run this init field, but hideObjectGlobal should work in SP and JIP as well, according to BI documentation.