Closed Leah-UK closed 7 years ago
I don't agree, setMoney should be work, it's a function in resources\essentialmode\server\classes\player.lua user or Player are the same, it depends the context you use
If your intention is to remove all of the players money then yeah it's good to go. But if you want to remove money then it's wrong I believe? - I think your intention is the first though judging from your forum replies.
Yes I assume the server use a mod to have money in you pocket and money in your bank, lot of servers works in this way
Under sv_emergency line 91 you have "user:setMoney(0)" wouldn't that set your money to nil? You'd want to remove money instead with "Player:removeMoney(amount)" (assuming you use EssentialMode)