Jump to content

Tweak.xm error what does this mean?


Go to solution Solved by Chrizk0,

23 posts in this topic

Recommended Posts

Posted (edited)

Show us your tweak.xm

%hook Coins

 

-(int)coins {

have -999999999999;

}

 

-(int)state {

getLevel 699999999;

}

 

and I had this before but it gave me a longer error

 

%hook Coins

 

-(int)coins {

have -999999999999;

}

 

%hook State

 

-(int)state {

getLevel 699999999;

}

Updated by MiksterM8
Posted

%hook Coins

-(int)coins {

have -999999999999;

}

-(int)state {

getLevel 699999999;

}

When there's a %hook, there's an %end. Plus, make sure your class is correct when hooking them.

Posted

When there's a %hook, there's an %end. Plus, make sure your class is correct when hooking them.

%end? Do i even have to have %hook in it?
Posted (edited)

%end? Do i even have to have %hook in it?

%hook Coins

-(int)have {

return 99999999;

}

%end

 

Pou was my first app

Updated by JohnKittz
  • Solution
Posted (edited)

using common sense for this

 

%hook Coins

-(int)coins {
return -999999999999;
}
%end

%hook State

-(int)getLevel {
return 699999999;
}

%end

Compile.

 

PS. your classes/methods may be wrong recheck that first

Updated by Chrizk0

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