Hook callback
#3

Yes I know but I would like hook 3 times the same callback, like this:

pawn Код:
// File 1

public OnGameModeInit()
{
    printf("ok1");
        return 1;
}


// File 2

hook OnGameModeInit()
{
    printf("ok2");
    return 1;
}

// File 3

hook OnGameModeInit()
{
    printf("ok3");
    return 1;
}
Error returned:

error 021: symbol already defined: "@yH_OnGameModeInit@001"
Reply


Messages In This Thread
Hook callback - by TheArrow - 19.12.2015, 13:03
Re: Hook callback - by PaulDinam - 19.12.2015, 13:12
Re: Hook callback - by TheArrow - 19.12.2015, 13:16
Re: Hook callback - by Patrick - 19.12.2015, 13:18
Re: Hook callback - by TheArrow - 19.12.2015, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)