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
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
 
Status
Not open for further replies.