Jump to content

Tweak.xm Errors


Go to solution Solved by xiaov,

5 posts in this topic

Recommended Posts

Posted

Sorry if this sounds noobish im new to hacking...

I made my first app for Pou and this is my very basic Tweak.xm. Im getting error messages that say there are things wrong with my commands.

I have no clue what i did wrong and im trying to get 9999 coins on the game. 

Can someone please tell me what im doing wrong? thanks

Spoiler

 

 

  • Solution
Posted

You need to hook className...

example:

%hook ClassName
- (int)money
{

return 999;

}

%end

Posted
14 minutes ago, xiaov said:

You need to hook className...

example:

%hook ClassName
- (int)money
{

return 999;

}

%end

so it would be " Unit for -(int) have " ??

Posted
Just now, rjd3 said:

so it would be " Unit for -(int) have " ??

where did you find the -(int)money?

it should be inside a class..

Posted
Just now, xiaov said:

where did you find the -(int)money?

it should be inside a class..

NVM! i figured it out... it would be " coins " thank you for the help !!

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