Skip to content

Instantly share code, notes, and snippets.

@draobrehtom
Last active March 26, 2024 23:21
Show Gist options
  • Save draobrehtom/7f8baa70fce4dc20a5d176467a8dd49f to your computer and use it in GitHub Desktop.
Save draobrehtom/7f8baa70fce4dc20a5d176467a8dd49f to your computer and use it in GitHub Desktop.
RedM Hud Money
local menuContainer = DatabindingAddDataContainerFromPath('', 'Tithing')
local campCashContainer = DatabindingAddDataContainer(menuContainer, 'CampFunds')
DatabindingAddDataInt(campCashContainer, 'dollars', 69)
DatabindingAddDataInt(campCashContainer, 'cents', 69)
local cashContainer = DatabindingAddDataContainer(menuContainer, 'PlayerCash')
DatabindingAddDataInt(cashContainer, 'dollars', 420)
DatabindingAddDataInt(cashContainer, 'cents', 69)
Citizen.InvokeNative(0x4CC5F2FC1332577F, `HUD_CTX_TITHING`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment