๐Ÿ› ๏ธInstallation

Welcome to our installation guide! In this section, we'll walk you through the steps to effortlessly set up the Script S-Deathscreen!

Deathscreen System Installation

Follow this steps to install the script:

  1. Download the Script from Keymaster

  2. Drag the Script into your resources

  3. Add this to you your server.cfg: start S-Deathscreen

  4. For ESX 1.1 and 1.2 insert this in <es_extended> > <server> > <functions.lua> under ESX.GetPlayers

function ESX.GetExtendedPlayers(key, val)
	local xPlayers = {}
	for k, v in pairs(ESX.Players) do
		if key then
			if (key == 'job' and v.job.name == val) or v[key] == val then
				xPlayers[#xPlayers + 1] = v
			end
		else
			xPlayers[#xPlayers + 1] = v
		end
	end
	return xPlayers
end
  1. Delete some code from esx_ambulancejob/client/main.lua Delete the following line of code:

AddEventHandler("esx:onPlayerDeath", function(data)
    OnPlayerDeath()
end)
  1. Restart the Server and play S-Deathscreen on your Server!

Thats All! Enjoy the Script on your Server!

Last updated