chore(styling): ensure consistent indentation & define editorconfig

This commit is contained in:
Taso
2021-10-13 21:54:25 -04:00
parent da8da214e4
commit a5ebf4b9ce
13 changed files with 1406 additions and 1225 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ CreateThread(function()
Wait(QBCore.Config.StatusInterval)
if LocalPlayer.state['isLoggedIn'] then
if QBCore.Functions.GetPlayerData().metadata['hunger'] <= 0 or
QBCore.Functions.GetPlayerData().metadata['thirst'] <= 0 then
QBCore.Functions.GetPlayerData().metadata['thirst'] <= 0 then
local ped = PlayerPedId()
local currentHealth = GetEntityHealth(ped)
SetEntityHealth(ped, currentHealth - math.random(5, 10))