16.08.2013, 02:48
You don't get the client messages? Just place this after includes:
pawn Код:
// Fix Kick without client message
new bool:BeingKicked[MAX_PLAYERS];
forward KickPub(playerid);
public KickPub(playerid)
{
Kick(playerid);
BeingKicked[playerid] = false;
return 1;
}
stock _HOOKED_Kick(playerid)
{
if(BeingKicked[playerid] == true)
return 0;
SetTimerEx("KickPub", 1000, false, "i", playerid);
BeingKicked[playerid] = true;
return 1;
}
#if defined _ALS_Kick
#undef Kick
#else
#define _ALS_Kick
#endif
#define Kick _HOOKED_Kick