make a resource and put it in a client file
thank you very much! it works!
You must be using esx_doorlock, u can change client script from
Citizen.CreateThread(function()
while true do
for _,doorID in ipairs(Config.DoorList) do
if doorID.doors then
for k,v in ipairs(doorID.doors) do
if not v.object or not DoesEntityExist(v.object) then
v.object = GetClosestObjectOfType(v.objCoords, 1.0, GetHashKey(v.objName), false, false, false)
end
end
else
if not doorID.object or not DoesEntityExist(doorID.object) then
doorID.object = GetClosestObjectOfType(doorID.objCoords, 1.0, GetHashKey(doorID.objName), false, false, false)
end
end
end
Citizen.Wait(1000)
end
end)
to
Citizen.CreateThread(function()
while true do
for _,doorID in ipairs(Config.DoorList) do
if doorID.doors then
for k,v in ipairs(doorID.doors) do
if not v.object or not DoesEntityExist(v.object) then
v.object = GetClosestObjectOfType(v.objCoords, 1.0, v.objName, false, false, false)
end
end
else
if not doorID.object or not DoesEntityExist(doorID.object) then
doorID.object = GetClosestObjectOfType(doorID.objCoords, 1.0, doorID.objName, false, false, false)
end
end
end
Citizen.Wait(1000)
end
end)
and put GetHashKey(" ") in all config objName
My IPLS are working perfect, i used to use the JOBSCRAFT one, then switched to with emergency room, and both worked pretty fine…
This is a beautiful interrior, but any idea why it’s the old destroyed one?
Hello what you mean by put GetHashKey(" ") in all config objName?
all objname should have like this?
objName = GetHashKey('v_ilev_cor_firedoor'), <-- this one
objCoords = vector3(334.5754, -591.2445, 28.80277),
textCoords = vector3(334.37, -591.79, 29.3),
authorizedJobs = { 'ambulance' },
locked = true,
distance = 10,
size = 2
So for example on the police doors i change this one
{
objName = 'v_ilev_shrfdoor',
objYaw = 30.0,
objCoords = vector3(1855.1, 3683.5, 34.2),
textCoords = vector3(1855.1, 3683.5, 35.0),
authorizedJobs = { 'police' },
locked = false
},
into this
{
objName =GetHashKey('v_ilev_shrfdoor'),
objYaw = 30.0,
objCoords = vector3(1855.1, 3683.5, 34.2),
textCoords = vector3(1855.1, 3683.5, 35.0),
authorizedJobs = { 'police' },
locked = false
},
Thank you for your help
Im using This resource with [Release] Pillbox Hospital by Jobscraft
It was all working fine last week, but after some time the door on the top floor is no longer gone. And i can’t access the top floor. Server restart does not fix the issue…
just going to ask one more time since I never got an answer, hopefully someone will help me out
everything works perfectly for me except for the lights, every time any of my players goes in the hospital all the lights are out and the whole place is dark. Is there a way for me to fix this? does anyone else experience this problem?
Please do an interior of the Vinewood police station!
i have the same issue. Have you solved it?
Ah thx. Yes works only thing is the doors are nit enterable even the big door at the begining. Cant get in
so i installed this interior, but somehow i cant open the door, then i also try to noclip to inside interior but i never touch the ground, it just like a hole but it has an interior
You need the Bob74 plugin. This adds allot of missing interiors.
(post deleted by author)
What?
lol ok so that “heartbeat” sound you hear is actually the traffic on the highway right outside the hospital, and if you don’t believe me go stand under an over pass and just listen to the sound the cars make as they drive over it lol
Does anyone happen to know the prop ID for the medical bags on the table near the back exit?
Doesn’t work for me. Doesn’t even load. Just shows the default Pillbox. I have Bobs IPL loader.
doesnt work, doesnt load. and i have all the IPLs