Open Cocodrulo opened 6 months ago
Black money is not in the core, but crypto is, and you didn't put it in ?
Good point, but actually that information is only commented information, I mean is not really whitelisting those monetypes it is only info not actual code.
Anyway I'll fixed it tomorrow
Fixed the annotation and also renamed the Player.Functions.TransferTo
to Player.Functions.TransferMoneyTo
to make it self explainable.
Changed those things that you commented, you were right in all of them jajaja
Changed those things that you commented, you were right in all of them jajaja
Will check that soon and let you know if I find something else
Sorry I added changes by mistake, changes reverted
Jus added logs and Money Events, a bit chunky the blocks of code but I don't know how to make it smaller.
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