19.12.2015, 13:16
Yes I know but I would like hook 3 times the same callback, like this:
Error returned:
error 021: symbol already defined: "@yH_OnGameModeInit@001"
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 021: symbol already defined: "@yH_OnGameModeInit@001"