Instant respawn bug

I did this code to spectate the attacker after the victim death, it works, but the victim can respawn juste after he get killed, is there a way to make the victim not able to respawn after something like 2 seconds ? I put code in init.lua in my gamemode


function GM:PlayerDeath( victim, inflictor, attacker )
	if ( victim == attacker ) then
		PrintMessage( HUD_PRINTTALK, victim:Name() .. " committed suicide." )
	else
		PrintMessage( HUD_PRINTTALK, victim:Name() .. " get killed." )
                victim:Spectate( OBS_MODE_CHASE )
	end
end

GM:PlayerDeathThink

Thanks for your help