From f35d6dc23a45871732c53ea3336a4a62f04e7534 Mon Sep 17 00:00:00 2001 From: Arctos2win <116841243+Arctos2win@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:26:24 +0100 Subject: [PATCH] =?UTF-8?q?fix:(spawn=20to=20coords=20=F0=9F=98=85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- [core]/es_extended/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index de2a0379..67c79e49 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -33,7 +33,7 @@ function ESX.SpawnPlayer(skin, coords, cb) Wait(0) end FreezeEntityPosition(playerPed, false) - NetworkResurrectLocalPlayer(spawn.x, spawn.y, spawn.z, spawn.heading, true, true, false) + NetworkResurrectLocalPlayer(coords.x, coords.y, coords.z, coords.heading, true, true, false) cb() end