βš™οΈInstallation

Installation for SA-Money script

  • Buy script from Tebex

  • Download it from cfx β†’ Purchased Assets

  • Open the downloaded file and configure the config.Lua, functions.Lua, fxmanifest.Lua and locale by your preferences

  • Upload those files to your server

  • Create a new item in qb-core / shared / items.lua ↓ (Icon for the item you can upload into QB-Inventory β†’ html β†’ images)

circle-exclamation

Edit player.lua

chevron-rightQB - Corehashtag
  • Now edit functions in the player.lua. The destination is qb-core / server / player.lua

chevron-rightQBoxhashtag
  • Now edit functions in the player.lua. The destination is qbx_core / server / player.lua

-----------

  • Find the function emitMoneyEvents and replace it with this

-------------

  • Find AddMoney function and replace it with code below (from AddMoney to GetMoney)


Config for inventories

chevron-rightqb-inventoryhashtag

For new qb-inventory, leave the config as it is and the script will work.

circle-info

If you have an older QB-inventory, enable oldInv in the config

chevron-rightps-inventoryhashtag
  • Set inventory to ps-inventory

chevron-rightox_inventoryhashtag
  • Set Inventory to ox_inventory

  • Disable Overweight

  • Set the name of the item to money

Also follow FAQ for on ox_inv Duplicating money

chevron-rightqs-inventory / core_inventory / codem-inventoryhashtag
  • Set inventory to qs-inventory / core_inventory / codem-inventory

  • Disable Overweight

triangle-exclamation
circle-info

If your server is already started, follow the guide for migration

Now it's done, and it should work. If it doesn't work, try other tips or contact us on Discord

Last updated