changed messages
This commit is contained in:
@@ -2601,7 +2601,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
|
||||
foreach (HouseRental rental in dbContext.HouseRentals.Include(r => r.User).Where(r => r.HouseId == nearHouse.Id))
|
||||
{
|
||||
rental.User.Client?.SendChatMessage("Dein Mietvertrag wurde administrativ aufgelöst");
|
||||
rental.User.Client?.SendChatMessage("{!#81F7BE}* Dein Mietvertrag wurde administrativ aufgelöst");
|
||||
dbContext.HouseRentals.Remove(rental);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace ReallifeGamemode.Server.Entities
|
||||
numberplate = "Shop";
|
||||
VehicleStreaming.SetLockStatus(veh, false);
|
||||
TextLabel label = NAPI.TextLabel.CreateTextLabel("SHOPVEHICLE\n" + "~g~" + sV.Price.ToMoneyString(),
|
||||
veh.Position.Add(new Vector3(0, 0, 1.3)), 15.0f, 1f, 1, new Color(255, 255, 255));
|
||||
veh.Position.Add(new Vector3(0, 0, 1.3)), 20.0f, 1f, 1, new Color(255, 255, 255));
|
||||
|
||||
veh.SetSharedData("shopVehicleTextLabel", label.Handle.Value);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
|
||||
if (player.GetUser().IsAdmin(AdminLevel.TEAM))
|
||||
{
|
||||
ChatService.BroadcastAdmin("!{#ffd700}*** " + player.Name + " hat den Server verlassen", AdminLevel.TEAM);
|
||||
ChatService.BroadcastAdmin("!{#FFFF00}*** " + player.Name + " hat den Server verlassen", AdminLevel.TEAM);
|
||||
}
|
||||
|
||||
JobBase job = JobManager.GetJob(player.GetUser().JobId ?? -1);
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
|
||||
if (user.IsAdmin(AdminLevel.TEAM))
|
||||
{
|
||||
ChatService.BroadcastAdmin("!{#ffd700}*** " + user.Name +"(ID: " + player.Handle.Value + ")" + " hat sich als " + GlobalHelper.AdminLevelToString(user.AdminLevel) + " eingeloggt!", AdminLevel.TEAM);
|
||||
ChatService.BroadcastAdmin("!{#FFFF00}*** " + user.Name +"(ID: " + player.Handle.Value + ")" + " hat sich als " + GlobalHelper.AdminLevelToString(user.AdminLevel) + " eingeloggt!", AdminLevel.TEAM);
|
||||
}
|
||||
|
||||
var userItems = dbContext.UserItems.Where(u => u.UserId == user.Id).ToList();
|
||||
|
||||
Reference in New Issue
Block a user