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], mp.game.graphics.drawText(player.name + " (" + player.remoteId + ")", [x, y],
{ {
font: 4, 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], scale: [0.4, 0.4],
outline: true, outline: true,
centre: false centre: false

View File

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

View File

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