This commit is contained in:
michael.reiswich
2021-03-31 16:29:45 +02:00
parent 76e44c2c99
commit 8f6cddc3c6
3 changed files with 5 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ export default function customNametags() {
mp.game.graphics.drawText(player.name + " (" + player.remoteId + ")", [x, y],
{
font: 4,
color: [0, 95, 176, 255], //Grove //Ballas 171 0 207 //PD 0 95 190 //FIB 0 0 170 LSED 147 0 0 NR 0 166 133 Trucker 255 162 Support 0 255 255 Zivilist 255 255 255
color: [255, 255, 255, 255], //Grove //Ballas 171 0 207 //PD 0 95 190 //FIB 0 0 170 LSED 147 0 0 NR 0 166 133 Trucker 255 162 Support 0 255 255 Zivilist 255 255 255
scale: [0.4, 0.4],
outline: true,
centre: false

View File

@@ -486,6 +486,7 @@ namespace ReallifeGamemode.Server.Commands
{
p.SetData("eventAllowed", true);
});
player.SendNotification("Der Eventchat ist nun an.");
break;
case "off":
@@ -493,6 +494,7 @@ namespace ReallifeGamemode.Server.Commands
{
p.SetData("eventAllowed", false);
});
player.SendNotification("Der Eventchat ist nun aus.");
break;
}

View File

@@ -96,7 +96,7 @@ namespace ReallifeGamemode.Server.Commands
ChatService.NotAuthorized(player);
return;
}
ChatService.BroadcastFaction("~36648B~[Event]" + player.Name + msg, new List<int>() { 9 }) ;
ChatService.BroadcastFaction("~b~[Event] " + player.Name + ": " + msg, new List<int>() { 9 }) ;
}
}