qb-core
qb-core copied to clipboard
💱 Added money transfer functions
Description
Implementation of the suggestion [SUGGESTION] Implement monetary transactions as a function. There have been added to two new functions. One in functions (QBCore.Functions.TransferMoney
) and other one on player (Player.Functions.TansferTo
), both aproach the same objective, trasnfering money betwwen two players if both are online, online one is online or both are offline.
Checklist
- [ ] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
- [x] My code fits the style guidelines.
- [x] My PR fits the contribution guidelines.