Sorry for the silly question, but I’m a little confused… Do I need both of these installed and working to get the interior squared away? The one referenced (with the ipl) only provides the top level where as this one seems to only do the bottom. With the IPL in place and this one running, i can now walk upstairs but it is still destroyed (unlike the other one that fixes the upstairs). Any way to somehow run them both to make the whole hospital functional and clean?
Just run them both?
I tried but it appeared only one would actually start when both were set to. Probably user error. I’ll try again
Put them in same folder and try again!
Didn’t even think to do that. Worked perfectly
@Evgenius Looks great! Any chance you’d be willing to write up an in-depth tutorial about how you accomplished it? I’d be more keen to learning how to do it myself so I can make my own unique layout/interior.
Or perhaps a quick video tutorial; opening a previously close building, making minor tweaks to the structure, building a basic room, and making it functional so it can be entered.
I’ve tried looking for existing tutorials, but they typically just cover replacing textures or adding new items. They don’t go into detail about the rest… or perhaps I’ve looked in the wrong places? What resources did you use to learn how to do this?
You can load this ipl RequestIpl("rc12b_default")
and don’t use another interior
good to know. Thanks for all the help. Good learning experience
Hello, i have a problem, can’t load the map, after load server crash
hi man, where should i put the code to stop npc spawn?
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!