[+] Add Gangwar System (bugs incl.)

This commit is contained in:
Lukas Moungos
2020-01-13 21:43:55 +01:00
parent 3b0189807e
commit e8321e3ec3
10 changed files with 246 additions and 85 deletions

View File

@@ -240,7 +240,7 @@ export default function (globalData: GlobalData): void {
})
if (jailTime > 0) {
mp.game.graphics.drawText("~y~Knastzeit: " + jailTime + " Minuten", [0.92, 0.52],
mp.game.graphics.drawText("~y~Knastzeit: ~ " + jailTime + " Minuten", [0.92, 0.52],
{
font: 4,
color: [255, 255, 255, 255],
@@ -251,7 +251,7 @@ export default function (globalData: GlobalData): void {
}
if (att_score > 0 && def_score > 0) {
mp.game.graphics.drawText("~y~" + def + " " + def_score + " : " + att_score + " " + att, [0.1, 0.416],
mp.game.graphics.drawText("~y~" + def + " " + def_score + " : " + att_score + " " + att, [0.07, 0.55],
{
font: 4,
color: [255, 255, 255, 255],
@@ -259,6 +259,15 @@ export default function (globalData: GlobalData): void {
outline: true,
centre: false
})
mp.game.graphics.drawText("~w~Gangwar", [0.07, 0.514],
{
font: 1,
color: [255, 255, 255, 255],
scale: [0.5, 0.5],
outline: true,
centre: false
})
mp.game.graphics.drawRect(0.0, 0.555, 0.3, 0.08, 0, 0, 0, 70)
}
}