diff --git a/client/functions.lua b/client/functions.lua index fab66592..274a1735 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -263,6 +263,7 @@ end ESX.Game.GetPedMugshot = function(ped) local mugshot = RegisterPedheadshot(ped) + while not IsPedheadshotReady(mugshot) do Citizen.Wait(0) end @@ -274,7 +275,7 @@ ESX.Game.Teleport = function(entity, coords, cb) RequestCollisionAtCoord(coords.x, coords.y, coords.z) while not HasCollisionLoadedAroundEntity(entity) do - RequestCollisionAtCoord(coords.x, coords.x, coords.x) + RequestCollisionAtCoord(coords.x, coords.y, coords.z) Citizen.Wait(0) end diff --git a/config.lua b/config.lua index 27e32bb9..b519ada4 100644 --- a/config.lua +++ b/config.lua @@ -1,5 +1,5 @@ Config = {} -Config.Locale = 'fr' +Config.Locale = 'en' Config.Accounts = { 'bank', 'black_money' } Config.AccountLabels = { bank = _U('bank'), black_money = _U('black_money') } @@ -7,7 +7,7 @@ Config.AccountLabels = { bank = _U('bank'), black_money = _U('black_money Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society Config.ShowDotAbovePlayer = false Config.DisableWantedLevel = true -Config.EnableHud = true -- enable the default hud? Display current job and accounts (black, bank & cash) +Config.EnableHud = false -- enable the default hud? Display current job and accounts (black, bank & cash) Config.PaycheckInterval = 7 * 60000 Config.MaxPlayers = GetConvarInt('sv_maxclients', 32)