Код
SDKHook(client, SDKHook_SetTransmit, Hook_SetTransmit);
public Action:Hook_SetTransmit(client, entity)
{
if(client!= entity)
{
if(IsClientInGame(entity) && entity > 0 && entity <= MaxClients)
{
if(IsPlayerAlive(entity)) return Plugin_Handled;
}
}
return Plugin_Continue;
}
SDKUnhook(client, SDKHook_SetTransmit, Hook_SetTransmit);