Jump to content

Compiling error


Go to solution Solved by gone123,

21 posts in this topic

Recommended Posts

Posted

For -(void) makeInvisible

what do i return 

nothing and you should only use it if you intend to disable the Invisible function

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted (edited)

Something like

-(void)setEnergyCost:(int)fp12{
    return %orig;
     fp12 = 999999;
}

fp12 can be args, args1 etc

Updated by Amuyea
Posted (edited)

Something like

-(void)setEnergyCost:(int)fp12{
    return %orig;
     fp12 = 999999;
}

fp12 can be args, args1 etc

What if I want to put NONE

 

+ -(void)setEnergyCost without the : (int)fp12

Updated by mitosis13
Posted (edited)

What if I want to put NONE

NULL or nil.

 

+ -(void)setEnergyCost without the : (int)fp12

 

So you saying like -(void)setEnergyCost?

Updated by Amuyea
Posted

You should try a -(bool) option

 

What if I want to put NONE

 

+ -(void)setEnergyCost without the : (int)fp12

:facepalm:

Posted

NULL or nil.

 

+ -(void)setEnergyCost without the : (int)fp12

 

So you saying like -(void)setEnergyCost?

Yes; do I just keep it like -(void)setEnergyCost{ } %end or is it better to add, makeInvisibleAchievements complete is my function, if that helps

Posted

Yes; do I just keep it like -(void)setEnergyCost{ } %end or is it better to add, makeInvisibleAchievements complete is my function, if that helps

I'm confused :p

 

All I know is that you must have it in full like flex tweak.

-(void)setEnergyCost:(int)fp12{
    return %orig;
     fp12 = 999999;
}

or

*Not sure if this is wrong... nil or NULL*

 

-(void)setEnergyCost:(int)fp12{
    return nil;
}
Posted

 

I'm confused :p

 

All I know is that you must have it in full like flex tweak.

-(void)setEnergyCost:(int)fp12{
    return %orig;
     fp12 = 999999;
}

or

*Not sure if this is wrong... nil or NULL*

-(void)setEnergyCost:(int)fp12{
    return nil;
}

return nil; is still a return parameter :3 blame the (void)

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