Hi I have moving fire and I am trying to make it permanent and I can not seem to do so, I have tried using multiple different perma entities/props addons from workshop, gmodstore and garrysmod but Nothing is working I think there might be a code to add a lua file that could do it but the one I have and found from a old facepunch post is not working dont know why ill post it here below. I have it in lua>auto run. Can anyone help me with fixing this or figuring how to make it perma ??!?!
local ENTPos = {
[1] = {["pos"] = Vector(-986, -7323, -23), ["ang"] = Angle(35, -98, 0)},
[2] = {["pos"] = Vector(-1025, -7652, -12), ["ang"] = Angle(49, 0, 0)}
-- etc etc
}
function SpawnPermaENTs()
timer.Simple(1, function()for k, pos inpairs(ENTPos) dolocal permaent = ents.Create("_firesmoke")
permaent:SetPos(pos["pos"])
permaent:SetAngles(pos["ang"])
permaent:Spawn()
endend)
end
hook.Add("Initialize", "SpawnPermaENTs", SpawnPermaENTs)
Please provide screenshots of your file structure including the directory to the lua file and the name of the lua file itself.
Man 15 hours no help I thought you guys were supposed to be some kind of "pros" over here hahaha
https://i.imgur.com/THqZVHn.png
Please provide screenshots of your file structure including the directory to the lua file and the name of the lua file itself.
It's to prove you actually have your file in the correct folder. Because "auto run" is not the correct folder.
Proof wtf you have my word .. Its in lua autrorun on my server files what is hard to understand about that if its in wrong folder then just tell me which is right one Im not taking a screen shot for you to have proof wtf
Sorry, you need to Log In to post a reply to this thread.