Jump to content

I dont know how to make a void to argument. i keep getting errors!


7 posts in this topic

Recommended Posts

Posted

so im trying to make a toggle that if on it switched the app id to com.kik.ext.camera, and if switched off it goes back to normal, its most likely easy and im over thinking it but i dont know what im doing, i read the tutorials and im still confused :(

 

 MY CODE

 

%hook KikAPIMessage
 
-(void)setAppID(id)argument {
if(GetPrefBool(@"kFakeCamera")) {
arugument = [NSString stringWithInteger:@"com.kik.ext.camera"];
}
return %orig
}
 
%end
 
please help me :(
Posted (edited)

stringWithInteger...oh lord. I remember you asked me that in chat

Updated by z0ne
Posted

This question has been answer (By yourself O_o) please click the mark solved button beside the correct answer, Thank You

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