A RedM Snippet to Enable & Use Native Rank UI

Published on
1 mins read
--- views
RedM RDR2 countdown native UI

This snippet provides a way to enable and use Native Rank UI like in original RDR2 game.

local mpRankBar = DatabindingAddDataContainerFromPath("", "mp_rank_bar")    -- container
DatabindingAddDataString(mpRankBar, "rank_header_text", "Text")             -- any text
DatabindingAddDataString(mpRankBar, "rank_text", "24")                      -- rank number
DatabindingAddDataFloat(mpRankBar, "xp_bar_minimum", 0.0)                   -- min xp
DatabindingAddDataFloat(mpRankBar, "xp_bar_maximum", 100.0)                 -- max xp
DatabindingAddDataFloat(mpRankBar, "xp_bar_value", 40.0)                    -- current xp

Join Our Community!

Get help, share ideas, get free scripts, and connect with other RedM enthusiasts in our Discord server.

Join Discord