Make props spawn correct direction

This commit is contained in:
delucecc 2023-06-03 20:46:18 -07:00
parent 714abbde36
commit 7108f3fed8

View File

@ -8,7 +8,7 @@ function SpawnProps()
end
local prop = CreateObject(v.model, v.coords.x, v.coords.y, v.coords.z - 1, true, true, false)
entity_ids[#entity_ids + 1] = prop
SetEntityHeading(prop, v.coords.w)
SetEntityHeading(prop, v.coords.w -180)
FreezeEntityPosition(prop, true)
print("^3Prop Spawned:" .. v.coords)
end