mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Proper RequestCollisionAtCoord arguments
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user