Jump to content

Multiple codes in one switch?


Go to solution Solved by castix,

14 posts in this topic

Recommended Posts

Posted

Above the "Unlimited XP" label in .plist, set the key from "kKey" to "xp".

 

Now on your tweak.xm, change "kCredits" & "kSetXp" to "xp" and compile.

Posted

Like this:

 

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.xxx</string>

<key>key</key>

<string>k(code here)</string>

<key>label</key>

<string>(input the name of your switch here)</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.xxx</string>

<key>key</key>

<string>k(code here)</string>

<key>label</key>

<string>(input the name of your switch here)</string>

</dict>

<dict>

 

 

By this state, you'll get a 2 switch STICK TOGETHER WITHOUT SEPERATING.

thanks, i will try it really thanks

Posted

thanks, i will try it really thanks

Just try and try experimenting on your .plist just be sure before that, you have a copy of your .plist so if something happen with the codes, you can replace them back to the original state (y)
  • Solution
Posted

What lol just use the same key value for both methods

- (void)setXp:(int)fp8 {
   if(GetPrefBool(@"reward")) {
   arg1 = 999999;
   }
   return %orig;
}
 
- (int)credits {
   if(GetPrefBool(@"reward")) {
   return 999999;
   }
   return %orig;
}
    <dict>
      <key>cell</key>
      <string>PSSwitchCell</string>
      <key>default</key>
      <false/>
      <key>defaults</key>
      <string>com.MrHani3.metalstormcheats</string>
      <key>key</key>
      <string>reward</string>
      <key>label</key>
      <string>Credits & XP</string>
    </dict>

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