diff --git a/_Hide/scripting/Hide_TransmitManager.sp b/_Hide/scripting/Hide_TransmitManager.sp index 91758fe..830abfc 100644 --- a/_Hide/scripting/Hide_TransmitManager.sp +++ b/_Hide/scripting/Hide_TransmitManager.sp @@ -131,6 +131,20 @@ public Action UpdateHide(Handle timer) continue; } + //lazy fix for invisible zm + if (TransmitManager_IsEntityHooked(client)) + { + for (int target = 1; target <= MaxClients; target++) + { + if (IsValidClient(target) && client != target && g_bHidePlayers[client][target] + && IsPlayerAlive(target) && ZR_IsClientZombie(target) && TransmitManager_IsEntityHooked(target)) + { + g_bHidePlayers[client][target] = false; + TransmitManager_SetEntityState(target, client, true); //client can see player again because the player is a zm + } + } + } + bool ClientIsAlive = IsPlayerAlive(client); bool ClientIsHuman = false; if (ClientIsAlive)