So recently I got a new server and I got Jailbreak on it. Everything works well except for one annoying factor. The Inmates after about 20 seconds are no longer able to speak.
When the round initially starts inmates can speak fine, but after a short time it stop working. It says nothing in the console when it happens.
Has anyone else had this issue? Additionally does anyone know how to fix it?
You'd get answers if you posted something from your gamemode's current code, with something like "PlayerCanHearPlayersVoice" in the code
@Disco_Inferno
Try this
function GM:PlayerCanHearPlayersVoice( list, talk )
if GAMEMODE:GetPhase() == ROUND_PLAY then
if talk:IsDeadInmate() or talk:IsDeadGuard() then
if !list:IsDeadInmate() or !list:IsDeadGuard() then
return false, false
end
end
if (GAMEMODE:GetRoundTime() + 20) <= CurTime() then
if !talk:IsGuard() then
return false, false
end
end
return true, false
end
return true, false
end
sv_hooks.lua around line 485
Sorry, you need to Log In to post a reply to this thread.