Help! How to make input amount of coins you want

Poison Modz

Approved Modder
Approved Modder
Hi guys i have experience of 1 to 1.5 years of modding but i doesn't work how to make input amount of coins you want
Anyone can help me is there any tutorial for this thank you
 
//HOOKING

int (*old_getUserCoin)(void *instance);
int _getUserCoin(void *instance){
if(instance != NULL){
if(isCoin > 1){
return (int) isCoin;
}
}
return old_getUserCoin(instance);
}




OBFUSCATE("InputValue_ADD COIN"),
 
It seem u have lack of knowledge even with 1.5y, you should try with patching method first then u will learn eventually by yourself. There is alot tutorial here u cant even follow simple one
 
How i make case for this and how to put offsets for this
First of all, the LGL template already has examples of all of this. If you cant do it even with many examples I suggest you stop what ur doing and read the examples in the main.cpp carefully. Second of all, if you have 1.5y of experience how do you not know how to use case/break? Its needed for every button type and how do you not know how to hook?
 
Back
Top Bottom