mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
Merge pull request #760 from esx-framework/tony-stark-17-patch-2
Remove Unused code
This commit is contained in:
@@ -115,7 +115,6 @@ local function StartThread()
|
|||||||
local atm = GetClosestObjectOfType(_GetEntityCoords, 8.0, Config.AtmModels[i], false)
|
local atm = GetClosestObjectOfType(_GetEntityCoords, 8.0, Config.AtmModels[i], false)
|
||||||
if atm ~= 0 then
|
if atm ~= 0 then
|
||||||
local atmOffset = GetOffsetFromEntityInWorldCoords(atm, 0.0, -0.7, 0.0)
|
local atmOffset = GetOffsetFromEntityInWorldCoords(atm, 0.0, -0.7, 0.0)
|
||||||
local atmHeading = GetEntityHeading(atm)
|
|
||||||
local atmDistance = #(_GetEntityCoords - atmOffset)
|
local atmDistance = #(_GetEntityCoords - atmOffset)
|
||||||
if not isInAtmMarker and atmDistance <= 1.5 then
|
if not isInAtmMarker and atmDistance <= 1.5 then
|
||||||
isInAtmMarker = true
|
isInAtmMarker = true
|
||||||
|
|||||||
Reference in New Issue
Block a user