Skip to content
Guest Big Announcement

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

Featured Replies

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?

Solved by TheChief

  • Solution

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 :)

  • Author

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

Thanks!! It works!!

I'll give you pancakes btw lol

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

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.