Status

Library
Updated 2 months ago · v1.3.7

Persistent status indicators (hunger, thirst, custom stats).

lib.registerStatusInfo

lua
lib.registerStatusInfo('hunger', {
    title = 'Hunger',
    icon = 'fa-utensils',
    value = 100,
    min = 0,
    max = 100,
    timer = true,
    autoDestroy = true,
})

lib.updateStatusInfo

lua
lib.updateStatusInfo('hunger', { value = 80 })

lib.getStatusInfo

lua
local info = lib.getStatusInfo('hunger')

lib.getStatusInfos

lua
local all = lib.getStatusInfos()

lib.destroyStatusInfo

lua
lib.destroyStatusInfo('hunger')
Was this page helpful?
This page was last updated on 12 March 2026
DIRKSCRIPTS
All you need for your FiveM server.10% off your first order

Unsubscribe any time.

Copyright © 2026 DirkScripts. Not affiliated with or endorsed by Rockstar North or Take-Two Interactive.