14.07.2014, 03:58
Hola que tal, alguien por favor me puede explicar detalladamente como hookear funciones y callbacks?
Desde ya gracias
Desde ya gracias

// Ban
#if defined _ALS_Ban
#undef Ban
#else
#define _ALS_Ban
#endif
#define Ban BannedUser
forward BannedUser(playerid); public BannedUser(playerid)
{
new nombre[24];
GetPlayerName(playerid, nombre, sizeof(nombre));
Ban(playerid);
printf("%s ha sido baneado", nombre);
}