Make props spawn correct direction
This commit is contained in:
parent
714abbde36
commit
7108f3fed8
@ -8,7 +8,7 @@ function SpawnProps()
|
|||||||
end
|
end
|
||||||
local prop = CreateObject(v.model, v.coords.x, v.coords.y, v.coords.z - 1, true, true, false)
|
local prop = CreateObject(v.model, v.coords.x, v.coords.y, v.coords.z - 1, true, true, false)
|
||||||
entity_ids[#entity_ids + 1] = prop
|
entity_ids[#entity_ids + 1] = prop
|
||||||
SetEntityHeading(prop, v.coords.w)
|
SetEntityHeading(prop, v.coords.w -180)
|
||||||
FreezeEntityPosition(prop, true)
|
FreezeEntityPosition(prop, true)
|
||||||
print("^3Prop Spawned:" .. v.coords)
|
print("^3Prop Spawned:" .. v.coords)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user