You need to use the revive option not the bandage.
If you use the bandage only once you wont be able to revive the player
Yes, as per @Bruno_Rocha you need to select the Revive player, option rather than heal. Revive is when a player is unconscious. (dead) The heal player options are for healing a player that can still type/talk.
Medkit : Used for healing the dead/unconscoius
Bandage : Used for healing the alive, ones that can still type/talk.
thanks but problem with this right now is that if the player is done doing his duty and wants to change back to civilian clothes it wont change him back.
Player get stuck in the ped model.
anyone know how to add more vehicle spawn points around the map? I mean⌠if RP is in Sandy and EMS has to go to the City to get a ambulance! I know in the Police Job I have a bunch of stationsâŚ
I have that with the spawning synonymous with the police script
I do click revive I have to shoot the dead player again to revive them
When people respawn at the hospital can still hear voices of players at where I died. Until I change voip proximity.
Iâm sorry the delay I hope you fixed it but if you donât. I let you the code below I forgot the add the off duty.
if data.current.value == 'citizen_wear' then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
local model = nil
if skin.sex == 0 then
model = GetHashKey("mp_m_freemode_01")
else
model = GetHashKey("mp_f_freemode_01")
end
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(1)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
TriggerEvent('skinchanger:loadSkin', skin)
TriggerEvent('esx:restoreLoadout')
end)
end
You just have to create more spawn points in the config.lua
that doesnt work unfortunately⌠there is a vehiclespawner (the circle you walk in to to get he ESX menu up to choose a car) but there is nothing in the Server lua to reference the âvehiclespawnpointâ
I got a work around by editing a esx_vehiclespawner script
Is there anyone reason why on the latest update I cannot handcuff a dead player? Thanks!
hmm 20 chars
Iâve found this in ambulancejob/client/job.lua but Iâm a little confused. Does something need to be taken out to add that code in? Or where/how exactly does it go? My version looks slightly different than yours.
Hey, yes you need to delete all that code and insert mine
function OpenCloakroomMenu()
ESX.UI.Menu.Open(
âdefaultâ, GetCurrentResourceName(), âcloakroomâ,
{
title = _U(âcloakroomâ),
align = âtop-leftâ,
elements = {
{label = _U(âems_clothes_civilâ), value = âcitizen_wearâ},
{label = _U(âroupa_inemâ), value = âambulance_wearâ},
},
},
function(data, menu)
menu.close()
if data.current.value == 'citizen_wear' then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
local model = nil
if skin.sex == 0 then
model = GetHashKey("mp_m_freemode_01")
else
model = GetHashKey("mp_f_freemode_01")
end
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(1)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
TriggerEvent('skinchanger:loadSkin', skin)
TriggerEvent('esx:restoreLoadout')
end)
end
if data.current.value == 'ambulance_wear' then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
if skin.sex == 0 then
local model = GetHashKey("s_m_m_paramedic_01")
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
else
local model = GetHashKey("s_m_m_paramedic_01")
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
end
end)
end
CurrentAction = 'ambulance_actions_menu'
CurrentActionMsg = _U('open_menu')
CurrentActionData = {}
end,
function(data, menu)
menu.close()
end
)
end
function OpenVehicleSpawnerMenu()
Anyone knows why after iâm getting revived with /revive or by an EMS with the F6 menu, im not getting revived at the place where i died/gone unconscious but its sends me to the hospital 100% of the time. Tested it with 6 people. All got respawned at hospital right away.
Im on esx_ambulancjob version 1.1.1 because i donât like the newest versions garage. It used to work with 1.2.0. Already cleared cache multiple times.
when i import it to HeidiSQL i get this??
any help
Mean society_ambulance already exist.
thanks!
Having an error when trying to take out the Ambulance for EMS with the newest version of this resource:
es_extended: TriggerServerCallback => [esx_vehicleshop:retrieveJobVehicles] does not exist
No idea what the f to do since i reinstalled the database fully. Anyone feel like helping?
