dont show hand money when hide gui
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import moneyFormat from '../moneyformat';
|
||||
|
||||
export default function handMoney() {
|
||||
export default function handMoney(globalData: GlobalData) {
|
||||
var currentMoney = null;
|
||||
var showMoneyChange = null;
|
||||
var difference;
|
||||
@@ -14,6 +14,7 @@ export default function handMoney() {
|
||||
});
|
||||
|
||||
mp.events.add("render", () => {
|
||||
if (globalData.HideGui) return;
|
||||
if (currentMoney != null) {
|
||||
var numberFormat = moneyFormat(Math.abs(currentMoney));
|
||||
if (currentMoney >= 0) {
|
||||
|
||||
@@ -47,7 +47,7 @@ adminSpeed();
|
||||
//voice(globalData);
|
||||
|
||||
import handMoney from './Gui/handmoney'
|
||||
handMoney();
|
||||
handMoney(globalData);
|
||||
|
||||
import business from './Business/main';
|
||||
business(globalData);
|
||||
|
||||
Reference in New Issue
Block a user