πŸ› οΈInstallation

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

Revivestation 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-Revivestation

  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. At least go in <esx_ambulancejob> > <client.lua> > <main.lua> and put this at the bottom!

RegisterNetEvent('esx_ambulancejob_Revive_ReviveStation')
AddEventHandler('esx_ambulancejob_Revive_ReviveStation', function(x,y,z)
    local playerPed = PlayerPedId();
    TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
    TriggerServerEvent("esx_ambulancejob:setstabile",false)
    local formattedCoordss = {x = x, y = y, z = z }
    RespawnPed(playerPed, formattedCoordss, 120.0)
    StopScreenEffect('DeathFailOut')
    Wait(3000)
end)
  1. Restart the Server and play S-Revivestation on your Server!

Last updated