how to hide inputs

 

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;

 
kraziekris:

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;

Simply by removing the extern keyword, not ?
 
kraziekris:

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;


bool PA8;

bool PA50;

bool PA200;

 
Jimdandy:


bool PA8;

bool PA50;

bool PA200;

I dont want the customer to see these in the inputs.. but i still want them set to false.

bool PA8=false;

bool PA50=false;

bool PA200=false; 
 
Any other idea on how to hide the inputs?!
 
Andreas Bauer: Any other idea on how to hide the inputs?!

What do you mean by "any other idea"?

The solution has already been given and it is as simple as it can get!

In order words, just remove or comment out the "extern" or "input" before the variable in question.

 
Fernando Carreiro:

In order words, just remove or comment out the "extern" or "input" before the variable in question.

I often replace the word "input" with "const." It keeps my variable declarations aligned.

:-D

Reason: