Jump to content

Error while making a tweak


fiqstro

1 post in this topic

Recommended Posts

Posted
%hook GADOAdReward

-(id) amount {
return [NSNumber numberWithInteger:999999999];
}

%end
%hook GADNAdReward

-(id) amount {
return [NSNumber numberWithInteger:999999999];
}

%end 

Hey, i’m trying to make my first tweak, but when i tried to make a package, an error pops up that says that i’m missing a semicolon at the end of the return statement, when my code already has a semicolon after the statement. Why is this happening?

Archived

This topic is now archived and is closed to further replies.

×
  • 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