Skip to content

Commit

Permalink
fix: (es_extended\client\main.lua) remove white line
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Apr 9, 2024
1 parent bd5535f commit b98de72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server-data/resources/[esx]/es_extended/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function ESX.SpawnPlayer(skin, coords, cb)
p:resolve()
end)
Citizen.Await(p)

local playerPed = PlayerPedId()
FreezeEntityPosition(playerPed, true)
SetEntityCoordsNoOffset(playerPed, coords.x, coords.y, coords.z, false, false, false, true)
Expand Down Expand Up @@ -54,7 +54,7 @@ AddEventHandler("esx:playerLoaded", function(xPlayer, _, skin)
while not DoesEntityExist(ESX.PlayerData.ped) do
Wait(20)
end

ESX.PlayerLoaded = true

local metadata = ESX.PlayerData.metadata
Expand Down

0 comments on commit b98de72

Please sign in to comment.