Jump to content

Tweak.xm error


Go to solution Solved by AxCE,

25 posts in this topic

Recommended Posts

Posted

Hi, i wanna make a tweak...

So i have this in my tweak.xm:

 

#import

#import

 

%hook session

-(float) gravity:{

return -5;

}

%end

 

And when i make package install, it says:

image.jpg

Can i fix this?

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Give us full tweak.xm

 

And in flex as well

Thats my full tweak.xm lol...

Flex:

image.jpg

Posted

Should be

 

 

%hook Session
-(float)gravity{
return -5.00;
}
%end
Thanks, it worked now but it doesn't happens anything...If i turn it on in flex it works but not with the tweak?!
Posted

Thanks, it worked now but it doesn't happens anything...If i turn it on in flex it works but not with the tweak?!

%hook Session
-(float)gravity {
return -5.0f;
}
%end

Try this

Posted

 

%hook Session
-(float)gravity {
return -5.0f;
}
%end
Try this
Doesn't work either :(

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