From 35c8abb699a5fc47f1b64dc1293119193bf69a25 Mon Sep 17 00:00:00 2001 From: Alx <96348049+AlexRXWindy@users.noreply.github.com> Date: Thu, 16 Oct 2025 18:46:10 +0200 Subject: [PATCH] refactor(player-stats): improve code structure in ESX --- .../es_extended/client/modules/adjustments.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/[core]/es_extended/client/modules/adjustments.lua b/[core]/es_extended/client/modules/adjustments.lua index 4e0f5224..51c3f648 100644 --- a/[core]/es_extended/client/modules/adjustments.lua +++ b/[core]/es_extended/client/modules/adjustments.lua @@ -287,23 +287,6 @@ function Adjustments:ApplyPlayerStats() end end - -- ADD NEW STATS HERE - -- ======================================================================== - -- 1. Find your native: https://docs.fivem.net/natives/ - -- 2. Uncomment template below (remove --) - -- 3. Replace "statName" with your stat name - -- 4. Replace "YourNative" with native from docs - -- 5. Add same stat to Config file - -- 6. Debug print is OPTIONAL (can be removed) - -- ======================================================================== - - -- if stats.statName then - -- YourNative(ESX.playerId, stats.statName) - -- if Config.EnableDebug then - -- print('[^2adjustments^7] statName: ' .. tostring(stats.statName)) - -- end - -- end - if Config.EnableDebug then print('[^2adjustments^7] stats applied for gender: ' .. gender) end