Jump to content

Ms hook settings help


Red16

4 posts in this topic

Recommended Posts

Posted

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

 
Posted

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.

Posted
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.

×
  • 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