Sooo…I have my own server in zap, when i have all set, and ambulance job isnt working. I mean it runs on the server, but when i put myself to ambulance the blips doenst apear on the hospital…Can someone help me please?
If you refer to the blip on the map, you probably have changed everything but that.
is configured in the config.lua of your esx_ambulancejob line 36
Config.Hospitals = {
CentralLosSantos = {
Blip = { coords = vector3(307.7, -1433.4, 28.9), sprite = 61, scale = 1.2, color = 2 },
No i refer to the blip, to enter on the hospital
aah okay tp to hospital map
I’m not sure, but if I’m not mistaken, you can do it on line 76 using FastTravels = {
Ok, then i enter on the hospital, and doesnt apear blip to spawn heli, or cars or even to get the medkits
OKay, just below the map blip settings start online 43
AmbulanceActions = {
vector3(270.5, -1363.0, 23.5)
},Pharmacies = { vector3(230.1, -1366.1, 38.5) }, Vehicles = { { Spawner = vector3(307.7, -1433.4, 30.0), InsideShop = vector3(446.7, -1355.6, 43.5), Marker = { type = 36, x = 1.0, y = 1.0, z = 1.0, r = 100, g = 50, b = 200, a = 100, rotate = true }, SpawnPoints = { { coords = vector3(297.2, -1429.5, 29.8), heading = 227.6, radius = 4.0 }, { coords = vector3(294.0, -1433.1, 29.8), heading = 227.6, radius = 4.0 }, { coords = vector3(309.4, -1442.5, 29.8), heading = 227.6, radius = 6.0 } } } }, Helicopters = { { Spawner = vector3(317.5, -1449.5, 46.5), InsideShop = vector3(305.6, -1419.7, 41.5), Marker = { type = 34, x = 1.5, y = 1.5, z = 1.5, r = 100, g = 150, b = 150, a = 100, rotate = true }, SpawnPoints = { { coords = vector3(313.5, -1465.1, 46.5), heading = 142.7, radius = 10.0 }, { coords = vector3(299.5, -1453.2, 46.5), heading = 142.7, radius = 10.0 } } } },
Yes i have all that, but doesnt apear
probably you have miscalculated “Z”
is the height of the point
This is my config right now
Config = {}
Config.DrawDistance = 100.0
Config.Marker = { type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false }
Config.ReviveReward = 700 – revive reward, set to 0 if you don’t want it enabled
Config.AntiCombatLog = true – enable anti-combat logging?
Config.LoadIpl = true – disable if you’re using fivem-ipl or other IPL loaders
Config.Locale = ‘en’
local second = 1000
local minute = 60 * second
Config.EarlyRespawnTimer = 2 * minute – Time til respawn is available
Config.BleedoutTimer = 10 * minute – Time til the player bleeds out
Config.EnablePlayerManagement = false
Config.RemoveWeaponsAfterRPDeath = true
Config.RemoveCashAfterRPDeath = true
Config.RemoveItemsAfterRPDeath = true
– Let the player pay for respawning early, only if he can afford it.
Config.EarlyRespawnFine = false
Config.EarlyRespawnFineAmount = 5000
Config.RespawnPoint = { coords = vector3(361.341, -590.731, 28.664), heading = 48.5 }
Config.Hospitals = {
CentralLosSantos = {
Blip = {
coords = vector3(299.072, -584.802, 43.261),
sprite = 61,
scale = 1.2,
color = 2
},
AmbulanceActions = {
vector3(270.5, -1363.0, 23.5)
},
Pharmacies = {
vector3(230.1, -1366.1, 38.5)
},
Vehicles = {
{
Spawner = vector3(307.7, -1433.4, 30.0),
InsideShop = vector3(446.7, -1355.6, 43.5),
Marker = { type = 36, x = 1.0, y = 1.0, z = 1.0, r = 100, g = 50, b = 200, a = 100, rotate = true },
SpawnPoints = {
{ coords = vector3(297.2, -1429.5, 29.8), heading = 227.6, radius = 4.0 },
{ coords = vector3(294.0, -1433.1, 29.8), heading = 227.6, radius = 4.0 },
{ coords = vector3(309.4, -1442.5, 29.8), heading = 227.6, radius = 6.0 }
}
}
},
Helicopters = {
{
Spawner = vector3(317.5, -1449.5, 46.5),
InsideShop = vector3(305.6, -1419.7, 41.5),
Marker = { type = 34, x = 1.5, y = 1.5, z = 1.5, r = 100, g = 150, b = 150, a = 100, rotate = true },
SpawnPoints = {
{ coords = vector3(313.5, -1465.1, 46.5), heading = 142.7, radius = 10.0 },
{ coords = vector3(299.5, -1453.2, 46.5), heading = 142.7, radius = 10.0 }
}
}
},
FastTravels = {
{
From = vector3(294.7, -1448.1, 29.0),
To = { coords = vector3(272.8, -1358.8, 23.5), heading = 0.0 },
Marker = { type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false }
},
{
From = vector3(275.3, -1361, 23.5),
To = { coords = vector3(295.8, -1446.5, 28.9), heading = 0.0 },
Marker = { type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false }
},
{
From = vector3(247.3, -1371.5, 23.5),
To = { coords = vector3(333.1, -1434.9, 45.5), heading = 138.6 },
Marker = { type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false }
},
{
From = vector3(335.5, -1432.0, 45.50),
To = { coords = vector3(249.1, -1369.6, 23.5), heading = 0.0 },
Marker = { type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false }
},
{
From = vector3(234.5, -1373.7, 20.9),
To = { coords = vector3(320.9, -1478.6, 28.8), heading = 0.0 },
Marker = { type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false }
},
{
From = vector3(317.9, -1476.1, 28.9),
To = { coords = vector3(238.6, -1368.4, 23.5), heading = 0.0 },
Marker = { type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false }
}
},
FastTravelsPrompt = {
{
From = vector3(237.4, -1373.8, 26.0),
To = { coords = vector3(251.9, -1363.3, 38.5), heading = 0.0 },
Marker = { type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false },
Prompt = _U('fast_travel')
},
{
From = vector3(256.5, -1357.7, 36.0),
To = { coords = vector3(235.4, -1372.8, 26.3), heading = 0.0 },
Marker = { type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false },
Prompt = _U('fast_travel')
}
}
}
}
Config.AuthorizedVehicles = {
ambulance = {
{ model = 'ambulance', label = 'Ambulance Van', price = 0}
},
doctor = {
{ model = 'ambulance', label = 'Ambulance Van', price = 0}
},
chief_doctor = {
{ model = 'ambulance', label = 'Ambulance Van', price = 0}
},
boss = {
{ model = 'ambulance', label = 'Ambulance Van', price = 0}
}
}
Config.AuthorizedHelicopters = {
ambulance = {},
doctor = {
{ model = 'buzzard2', label = 'Nagasaki Buzzard', price = 0 }
},
chief_doctor = {
{ model = 'buzzard2', label = 'Nagasaki Buzzard', price = 0 },
{ model = 'seasparrow', label = 'Sea Sparrow', price = 0 }
},
boss = {
{ model = 'buzzard2', label = 'Nagasaki Buzzard', price = 0 },
{ model = 'seasparrow', label = 'Sea Sparrow', price = 0 }
}
}
makers not blips
restart the server and watch the console, you must have an error related to ambulancejob, share it here
yes i will share
Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_society/server/main.lua:26: attempt to index a nil value (field ‘?’)
stack traceback:
@esx_society/server/main.lua:26: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
so this is the only error that gave to me
you did not install esx_society properly, or the resources start order is not right.
i have esx_society
is it possible that fast travels can use only doctor ? cos i added some fast travels but everybody can use these 
When a player dies and the death timer finishes, the player respawns at the same point… not in the hospital… Could someone help me?
Did you ever fix it? I am having the same problem