Skip to content
Guest Big Announcement

Ms hook settings help

Featured Replies

I keep geting an error when I’m compiling this.

it says:

Tweak.xm:3:40: error: non-ASCII characters are not allowed outside of literals and identifiers                   

If (GetPrefBool (@ "<U+FEFF><U+FEFF><U+FEFF><U+FEFF> kGem "<U+FEFF><U+FEFF><U+FEFF><U+FEFF>)) {       

This is inside the tweak.xm

%hook Gem 

- (int) gemvalue {

If (GetPrefBool (@ " kGem ")) {

return 999;

}

return %orig;

}

%end

 

as I’ve said earlier, you copied it from a web. There are now hidden characters, which you can not see.

 

Rewrite the ifgetpreffbool line.

Updated by JokaIsGay

  • Author
2 minutes ago, JokaIsGay said:

as I’ve said earlier, you copied it from a web. There are now hidden characters, which you can not see.

 

Rewrite the ifgetpreffbool line.

Thank you I hope I wrote it right

Archived

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

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.