Alright, so i am having issues surrounding using createobject, and requestmodel.
Since it doesn’t seem to work as i want it to.
Firstly ofcourse, i request the shell by name of file.
Which is in my case: shell_apartment2
And this is my code:
local metd = `shell_apartment2`
RequestModel(metd)
while not HasModelLoaded(metd) do
Citizen.Wait(0)
print('no load')
end
houseshell = CreateObject(GetHashKey("shell_apartment2"), tonumber(housingcoords.x), tonumber(housingcoords.y), -72.61, false, false, false)
FreezeEntityPosition(houseshell, true)
Idk why it’s doing this, but works fine for my warehouse shell and i am doing the same as i do with this one.