finish weaponDealsystem for pd and fib & and change item IDs
This commit is contained in:
@@ -45,7 +45,8 @@ export default function handMoney(globalData: IGlobalData) {
|
||||
if (showMoneyChange <= 70) {
|
||||
alpha = (showMoneyChange * (255 / 70)) | 0;
|
||||
}
|
||||
mp.game.graphics.drawText("-$" + moneyFormat(Math.abs(difference)), [0.95, 0.145], {
|
||||
var differenceText = moneyFormat(Math.abs(difference));
|
||||
mp.game.graphics.drawText("-$" + differenceText, [0.95, 0.145], {
|
||||
font: 7,
|
||||
color: [255, 0, 45, alpha],
|
||||
scale: [0.65, 0.65],
|
||||
@@ -58,7 +59,8 @@ export default function handMoney(globalData: IGlobalData) {
|
||||
if (showMoneyChange <= 70) {
|
||||
alpha = (showMoneyChange * (255 / 70)) | 0;
|
||||
}
|
||||
mp.game.graphics.drawText("+$" + moneyFormat(Math.abs(difference)), [0.95, 0.145], {
|
||||
var differenceText = moneyFormat(Math.abs(difference));
|
||||
mp.game.graphics.drawText("+$" + differenceText, [0.95, 0.145], {
|
||||
font: 7,
|
||||
color: [115, 186, 131, alpha],
|
||||
scale: [0.65, 0.65],
|
||||
|
||||
Reference in New Issue
Block a user