ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1764

BoolOption

by Manuelgta5 - 07-20-2018 - 10:32 AM
#1
some BoolOption that can happen to me
Reply
#2
You Need To learn How To Code buddy. random threads like this arent needed.
2021 Best Be Better Then 2020
Reply
#3
bools can be done in different ways

you've got the simple
Code:
case 1: bool = !bool; break;

or you can use the little advanced way and use them in arrays like i do

Code:
bool testBool[50];
no need for a case as you can just use it like
addBoolOption("test bool". testBool[1]);
or better yet, re do you bool option so it works like this
addBoolOption("test bool", &testBool[1]);

and then you would do this in your other loop

if(testBool[1]){
turn your function on
}
else {
turn your functionoff
}
Reply

Users browsing: 1 Guest(s)