Good catch on this! Fixed for me, thanks!
after death my respawn timer still appears on the screen. and auto respawn after the timer. how to stop this problem ?
Anyone know how to make the presistent alerts update properly with bleeding and such instead of it only saying 1 body part is irritated or only the title of bleeding 1
How to activate hidden hospital functions…i need one hospital script for sandy shores also…plzzz help anyone
Hello, I’m trying to combine this script with vRP 2. The problem is when I die and respawn I’m still hurt and bleeding. Do I have to use the “ResetAll” export or what to heal the player completely?
I have the hospital set up.Everything works up to the point of you checking in and teleport to the bed. I get the notices " Doctor is healing you" Then nothing. Toon just stays in bed, no more notices and health is not healing. I have up to date mythic_notify and in counsel no errors.
Any ideas would be thankful!
Has anybody got a fix so that it doesn’t mess with crouching? It resets the ped to stood up everytime.
That is why I had to stop using this resource…
I fixed it by using a dif version of mythic_hospital which doesn’t reset the ped.
I cannot find the download for the version 2 of this resource
Hello, can anyone help me! I have this hospital, and when I register it appears lying on the floor, I would like to know where I configure the stretchers, thanks
where is download link
local beds = {
{ x = 314.59, y = -584.36, z = 42.90, h = 156.59, taken = false, model = -1091386327 },
{ x = 311.19, y = -583.29, z = 42.90, h = 160.08, taken = false, model = -1091386327 },
{ x = 317.82, y = -585.61, z = 42.90, h = 159.78, taken = false, model = -1091386327 },
{ x = 313.78, y = -578.88, z = 42.90, h = 337.25, taken = false, model = -1091386327 },
}
put this in your Server/Main
and dont forget to change the snippet for ambulancejob too.
Ambulance job :: client/main.lua
[REPLACE]
function RemoveItemsAfterRPDeath()
TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
Citizen.CreateThread(function()
DoScreenFadeOut(800)
while not IsScreenFadedOut() do
Citizen.Wait(10)
end
ESX.TriggerServerCallback('esx_ambulancejob:removeItemsAfterRPDeath', function()
local playerpos = GetEntityCoords( GetPlayerPed(-1) )
ESX.SetPlayerData('lastPosition', playerpos)
ESX.SetPlayerData('loadout', {})
RespawnPed(PlayerPedId(), playerpos, Config.RespawnPoint.heading)
TriggerServerEvent('esx:updateLastPosition', playerpos)
TriggerServerEvent('mythic_hospital:server:RequestBed')
Citizen.Wait(10)
StopScreenEffect('DeathFailOut')
DoScreenFadeIn(800)
end)
end)
end
Thanks a lot! good data, thank you
Yes download link please
Unlisted until download fixed
lot of people share working version… look up in this topic…
anychance you can share what you added to get it working please?
did this work for ambulance job to heal bleeding and limb damae
Look for the revive/heal part in esx_ambulancejob and place the event in the code.
