DirkScripts Logo

Login With FiveM

Login

πŸ“š Dirk Lib
β€Ί
Modules
β€Ί
ui
β€Ί

Status

Status

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')

Copyright Β© 2026 DirkScripts.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.