Skip to content

Commit

Permalink
Merge pull request #673 from bitpredator/dev
Browse files Browse the repository at this point in the history
fix: (es_extended) line contains trailing whitespace
  • Loading branch information
bitpredator authored Mar 24, 2024
2 parents 2a72b14 + 65590f5 commit 84f1d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -72,7 +72,7 @@ AddEventHandler("esx:playerLoaded", function(xPlayer, _, skin)
local timer = GetGameTimer()
while not HaveAllStreamingRequestsCompleted(ESX.PlayerData.ped) and (GetGameTimer() - timer) < 2000 do
Wait(0)
end
end

if Config.EnablePVP then
SetCanAttackFriendly(ESX.PlayerData.ped, true, false)
Expand Down Expand Up @@ -280,7 +280,7 @@ AddStateBagChangeHandler("VehicleProperties", nil, function(bagName, _, value)
local vehicle = NetToVeh(tonumber(netId))

ESX.Game.SetVehicleProperties(vehicle, value)
end)
end)

RegisterNetEvent("esx:setAccountMoney")
AddEventHandler("esx:setAccountMoney", function(account)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ if not Config.OxInventory then
end

function ESX.DoesJobExist(job, grade)
return (ESX.Jobs[job] and ESX.Jobs[job].grades[tostring(grade)] ~= nil) or false
return (ESX.Jobs[job] and ESX.Jobs[job].grades[tostring(grade)] ~= nil) or false
end

function Core.IsPlayerAdmin(playerId)
Expand Down

0 comments on commit 84f1d49

Please sign in to comment.