Jump to content

39 posts in this topic

Recommended Posts

Posted

did you remove the space AFTER the -(void) ?

yes i did

did you remove the space AFTER the -(void) ?

and the return 99999 do i need to delete the space too?

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

 

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8 = 999999;
%orig(fp8);
}
%end
Posted (edited)

 

%hook LevelLayer

-(int)grenades {

return 999999;

}

 

-(void)setGrenades:(int)grenades {

fp8 = 999999;

%orig(fp8);

}

%end

 

 

 

Copy and paste this exactly, and tell me what errors you get when compiling

Updated by Todeskuss
Posted (edited)

Try

%hook LevelLayer
-(int)grenades {
return 99999;
}
-(void)setGrenades:(int)fp8 {
fp8=99999;
%orig(fp8);
}
%end

and

 

 

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8=999999;
%orig(fp8);
}
%end
Updated by SexyCurry
Posted

Copy and paste this exactly, and tell me what errors you get when compiling

still wont work

 

Try

%hook LevelLayer
-(int)grenades {
return 99999;
}
-(void)setGrenades:(int)fp8 {
fp8=99999;
%orig(fp8);
}
%end

and

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8=999999;
%orig(fp8);
}
%end

it dont work 

Posted (edited)

 

Try

%hook LevelLayer
-(int)grenades {
return 99999;
}
-(void)setGrenades:(int)fp8 {
fp8=99999;
%orig(fp8);
}
%end

and

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8=999999;
%orig(fp8);
}
%end

You mean "grenades=99999" and "%orig(grenades)"

still wont work

it dont work 

I said "Tell me the errors you get when compiling".  Not "Tell me is it working or naw".  READ please, so we can HELP YOU better.

Updated by Todeskuss
Posted

You mean "grenades=99999" and "%orig(grenades)"

I said "Tell me the errors you get when compiling".  Not "Tell me is it working or naw".  READ please, so we can HELP YOU better.

look at my topic abooovveee there is a screenshot from what i get

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