Jump to content

How to group multiple items under one preference switch


Go to solution Solved by Joka,

8 posts in this topic

Recommended Posts

Posted

How do you set it up to where you can turn on multiple items in Tweak.xm with one preference switch. I'm experimenting with 8 Ball pool and unlimited guidelines, power, spin. So I'd need the function "lowAimRatio" and "highAimRatio" under one switch to make unlimited guidelines work for example.

  • Solution
Posted

For the 'key1', make them both 'kSomething'


So make all keys for all the functions 'kHack' or whatever you wanna call the key.

Posted

For the 'key1', make them both 'kSomething'

So make all keys for all the functions 'kHack' or whatever you wanna call the key.

Thanks Not sure why I didn't think of that before. Seems kind of obvious now that I know.
Posted

Thanks Not sure why I didn't think of that before. Seems kind of obvious now that I know.

I was exactly the same :lol: till I had common sense xD np <3

Posted

For the 'key1', make them both 'kSomething'

So make all keys for all the functions 'kHack' or whatever you wanna call the key.

:kappa: I wonder who told you how :kappa:

Posted

if(GetPrefBool(@"key"))

{

return xxxx ;

}

 

like this?

No he means return 2 "cheats" to 1 switch. So #1cheat = kHack and #2cheat = kHack :p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines