|DepredadoR| Posted February 13, 2012 Posted February 13, 2012 Is there any way to reset your accounts and the accounts of the Bank, but not delete the internal.db? I use resource: bank of 50 p, if anyone knows thank you for your help. https://community.multitheftauto.com/index.php?p= ... ails&id=54
Paper Posted February 13, 2012 Posted February 13, 2012 You have to see how the script stores the datas and use the same method whit setting the data to 0 ^^
Castillo Posted February 13, 2012 Posted February 13, 2012 addCommandHandler("reset", function () for index, account in ipairs(getAccounts()) do exports["bank"]:setBankAccountBalance(getAccountName(account), 0) end end) WARNING: IF YOUR BANK RESOURCE ISN'T CALLED "bank" THEN CHANGE IT IN THE SCRIPT.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now