finish weaponDealsystem for pd and fib & and change item IDs

This commit is contained in:
Michael
2020-06-16 12:50:53 +02:00
parent b3ba7529b5
commit a28d2d4060
50 changed files with 849 additions and 700 deletions

View File

@@ -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],