From 7108f3fed8f282c873fa0bcefd7047b1de25d720 Mon Sep 17 00:00:00 2001 From: delucecc <31872986+delucecc@users.noreply.github.com> Date: Sat, 3 Jun 2023 20:46:18 -0700 Subject: [PATCH] Make props spawn correct direction --- client/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.lua b/client/client.lua index 2b002be..7ee2e4e 100644 --- a/client/client.lua +++ b/client/client.lua @@ -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