Jump to content

39 posts in this topic

Recommended Posts

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Paste the code here please.

cant :/

This is the code

 

%hook LevelLayer

-(int)grenades {

return 9999999;

}

-(void) setGrenades:(int)fp8 {

fp8 = 9999999;

%orig(fp8);

)

%end

Posted (edited)

I think the problem is that your numbers are too big.  You have them as like 9999999 when they can't be over 99999 I think

 

Also remove the space in front of the -(void)

Updated by Todeskuss
Posted

Uhm there isn't even 21 lines of code... what??

yeah because i guess i dont need it the hack works

I think the problem is that your numbers are too big.  You have them as like 9999999 when they can't be over 99999 I think

 

Also remove the space in front of the -(void)

i will try

Posted

yeah because i guess i dont need it the hack works

i will try

No what I was saying is that the error in Terminal says it's at line 21 (Tweak.xm:21) when there isn't even 21 lines of code...

Posted

I think the problem is that your numbers are too big.  You have them as like 9999999 when they can't be over 99999 I think

 

Also remove the space in front of the -(void)

this wont work :/

No what I was saying is that the error in Terminal says it's at line 21 (Tweak.xm:21) when there isn't even 21 lines of code...

then whathehell is it lol

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