mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
optimize a little
change args of GetEntityCoords() From function PlayerPedId() To variable playerPed
This commit is contained in:
@@ -382,7 +382,7 @@ CreateThread(function()
|
||||
local playerPed = PlayerPedId()
|
||||
|
||||
if IsPedInAnyVehicle(playerPed, false) then
|
||||
local coords = GetEntityCoords(PlayerPedId())
|
||||
local coords = GetEntityCoords(playerPed)
|
||||
local currentZone, zone, lastZone
|
||||
|
||||
if (ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic') or not Config.IsMechanicJobOnly then
|
||||
|
||||
Reference in New Issue
Block a user