This is the AMP version of this page.
If you want to load the real page instead, click this text.

Solved Please help me unlink hook in lgl mod menu

Status
Not open for further replies.

alsya

Solid & Active Platinian
Original poster
Oct 21, 2021
80
19
8
unknown
Hello, I have a problem with modding my hook in lgl mod menu.

C++:
void (*init)(void *instance, bool _isPlayer);

float (*old_getAtk)(void *instance);
float getAttk(void *instance) {
        if(instance != NULL && getDmg > 1) {
            
          void *get_init = init(instance, true);
          if(get_init) {
              return (float) getDmg;
          }
          
        }
        
        
        }

this my code, but it doesn't work still gives enemy damage too
 

Hiyall360

Awesome Active Platinian
Jan 14, 2018
133
4,071
193
Mr.Pringlez
Reactions: Zerotwodzz
Status
Not open for further replies.