Skip to content

Commit 87f9061

Browse files
committed
refactor(player-stats): improve code structure in ESX
1 parent 58728dd commit 87f9061

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

[core]/es_extended/client/modules/adjustments.lua

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -287,23 +287,6 @@ function Adjustments:ApplyPlayerStats()
287287
end
288288
end
289289

290-
-- ADD NEW STATS HERE
291-
-- ========================================================================
292-
-- 1. Find your native: https://docs.fivem.net/natives/
293-
-- 2. Uncomment template below (remove --)
294-
-- 3. Replace "statName" with your stat name
295-
-- 4. Replace "YourNative" with native from docs
296-
-- 5. Add same stat to Config file
297-
-- 6. Debug print is OPTIONAL (can be removed)
298-
-- ========================================================================
299-
300-
-- if stats.statName then
301-
-- YourNative(ESX.playerId, stats.statName)
302-
-- if Config.EnableDebug then
303-
-- print('[^2adjustments^7] statName: ' .. tostring(stats.statName))
304-
-- end
305-
-- end
306-
307290
if Config.EnableDebug then
308291
print('[^2adjustments^7] stats applied for gender: ' .. gender)
309292
end

0 commit comments

Comments
 (0)