Jump to content
  • 0

 Help/Support Error: %orig does not make sense outside a block


Nini

4 posts in this topic

Question

https://ghostbin.com/paste/pdmb9 --> that funcs i added recently to my hack

%hook BMEnergyCounter
-(float)energyCount {
if(GetPrefBool(@"kswag6"))
{
return 999999999;
}
return %orig;
}

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6)) {
fp8=999999999;
}
return %orig;
}
%end

But i got this
dMW4v5R.jpg
So any mistakes in the funcs ?

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

You forgot a quotation at 

 

 

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6")) {

%hook BMEnergyCounter
-(float)energyCount {
if(GetPrefBool(@"kswag6"))
{
return 999999999;
}
return %orig;
}

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6")) {
fp8=999999999;
}
return %orig;
}
%end

Throughout life people will make you mad, disrespect you and treat you bad. Let God deal with the things they do, cause hate in your heart will consume you too.
iOSGods Administrator
 Guidelines  Support Donate  FAQ 

Link to comment
Share on other sites

Lol

Thx

/Solved

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

[success]Problem solved. Topic locked.

 

If you have any more questions... you know what to do :p (create a new support topic)[/success]

Throughout life people will make you mad, disrespect you and treat you bad. Let God deal with the things they do, cause hate in your heart will consume you too.
iOSGods Administrator
 Guidelines  Support Donate  FAQ 

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
  • 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 possible user experience without cookies. You can accept or decline our non-essential cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines