Jump to content

[HELP] How to write this FLEX patch on Tweak.xm


Go to solution Solved by TheChief,

5 posts in this topic

Recommended Posts

Posted

Target Method

-(void) setStickerFromShop:(BOOL)

 

Return Value (void)

pass-through

 

Argument #1 (BOOL)

TRUE

 

I write like this

 

%hook BBMUIStickerPack

-(void) setIsStickerFromShop:(bool) StickerFromShop {

StickerFromShop = true;

}

%end

 

is that right?

  • Solution
Posted

that isnt wholely right. you might wanna try this : 

 

%hook BBMUIStickerPack 
-(void) setIsStickerFromShop:(bool)fp8 {
fp8 = true;
%orig(fp8);
}
%end

you can replace fp8 with anything like stickerfromshop which you used above or f10 or ilovepancakes lol

and that should work :)

  • Like 1
Posted

that isnt wholely right. you might wanna try this : 

 

%hook BBMUIStickerPack 
-(void) setIsStickerFromShop:(bool)fp8 {
fp8 = true;
%orig(fp8);
}
%end
you can replace fp8 with anything like stickerfromshop which you used above or f10 or ilovepancakes lol

and that should work :)

Thanks!! It works!!

I'll give you pancakes btw lol

Posted

Thanks!! It works!!

I'll give you pancakes btw lol

ah thx :) just press the "Heart Button" on the right side of my post :)

  • Like 1

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