This is what I have, warning this was after trying to some things to see if I could add something to block the rain from hitting so if you go noclip outside of it ⦠youāre going to see a box with my Wallpaper as the texture
So use at your discretion lmao.
Need to make sure whatever resource youāre streaming it from has ;
this_is_a_map 'yes'
data_file 'DLC_ITYP_REQUEST' 'stream/playerhouse_tier1.ytyp'
In the manifest file. This is the function that Iām spawning it with (Along with a couple other props in it)
function CreateBasicHouse(spawn)
local objects = {}
local shell = CreateObject(`playerhouse_tier1`, spawn.x, spawn.y, spawn.z, false, false, false)
FreezeEntityPosition(shell , true)
table.insert(objects, shell)
local dt = CreateObject(`V_16_DT`, spawn.x-1.21854400, spawn.y-1.04389600, spawn.z + 1.39068600, false, false, false)
table.insert(objects, dt)
local curts = CreateObject(`v_16_midapt_curts`, spawn.x-1.96423300, spawn.y-0.95958710, spawn.z + 1.30092700, false, false, false)
table.insert(objects, curts)
local hall = CreateObject(`V_16_mid_hall_mesh_delta`, spawn.x + 3.70593000, spawn.y - 5.80020100, spawn.z + 1.32592700, false, false, false)
table.insert(objects, hall)
--local hall = CreateObject(`v_16_mpmidapart09`, spawn.x + 0.8220215, spawn.y + 2.29612, spawn.z + 1.140782, false, false, false)
local bedDelta = CreateObject(`v_16_mid_bed_delta`, spawn.x + 7.951874, spawn.y + 1.042465, spawn.z + 1.284023, false, false, false)
table.insert(objects, bedDelta)
SetEntityCoords(PlayerPedId(), spawn.x + 3.69693000, spawn.y - 15.080020100, spawn.z + 1.5, 0, 0, 0, false)
return objects
end
(The function is returning a list of all objects spawned so I can delete them as needed when the client leaves that interior super easily)
playerhouse_tier1.zip (1.9 MB)