Jump to content

-(int) Help


Go to solution Solved by Salman1700,

7 posts in this topic

Recommended Posts

Posted

Okay I'm getting into coding slowly i wanna make sure what I am putting is right so here's my code for Pou

 

[ %hook Coins

-(int)have {

Return 99999;

}

%end]

 

If hook the class I was told I can add to it like this

 

[ [ %hook Coins

-(int)have {

Return 99999;

}

-(int)given {

Return 9999;

}

%end]

 

Again I'm just making sure I'm inputting it correctly thanks for the help

Posted

I put the Brackets just for a boarder that's not actually in my code my code goes like this

 

%hook Coins

-(int)have {

Return 99999;

}

-(int)fromclean {

Return 9999;

}

%end

Posted

I put the Brackets just for a boarder that's not actually in my code my code goes like this

%hook Coins

-(int)have {

Return 99999;

}

-(int)fromclean {

Return 9999;

}

%end

It's correct. :golfclap:

Posted

Thank you for letting me know I'm inputting it correctly it's my first tweak for a game I'm working on just wanna make sure everything is right :)

Posted

Thank you for letting me know I'm inputting it correctly it's my first tweak for a game I'm working on just wanna make sure everything is right :)

Do this:

 

%hook Coins 
-(int)have {
return 99999;
}
%end
 

%hook Coins 
-(int)have {
return 99999;
}
-(int)given {
return 9999;
}
 
%end

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