hanf wachstum
This commit is contained in:
@@ -88,8 +88,6 @@ namespace ReallifeGamemode.Server.Events
|
||||
NAPI.World.RequestIpl("ferris_finale_Anim"); // Riesenrad
|
||||
NAPI.World.RequestIpl("Carwash_with_spinners"); // Carwash
|
||||
|
||||
HanfManager.UpdateHanfForPlayer(player);
|
||||
|
||||
TimeSpan currentTime = TimeManager.CurrentTime;
|
||||
bool disableLightMode = currentTime > LightModeTimeFrom && currentTime < LightModeTimeTo;
|
||||
|
||||
|
||||
@@ -115,6 +115,8 @@ namespace ReallifeGamemode.Server.Events
|
||||
ChatService.BroadcastGroup(msg, user.Group);
|
||||
}
|
||||
|
||||
HanfManager.UpdateHanfForPlayer(player);
|
||||
|
||||
string message = string.Empty;
|
||||
|
||||
if (GlobalHelper.CustomJoinMessages.ContainsKey(player.SocialClubName))
|
||||
|
||||
@@ -7,6 +7,7 @@ using ReallifeGamemode.Server.Extensions;
|
||||
using ReallifeGamemode.Server.Util;
|
||||
using System;
|
||||
using ReallifeGamemode.Database.Entities.Logs;
|
||||
using ReallifeGamemode.Server.Managers;
|
||||
|
||||
/**
|
||||
* @overview Life of German Reallife - Event Register (Register.cs)
|
||||
@@ -29,7 +30,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
player.TriggerEvent("SERVER:Login_Error", "Das Passwort muss aus mindestens 6 Zeichen bestehen.");
|
||||
return;
|
||||
}
|
||||
if (dbContext.Users.Where(u => u.SocialClubName == player.SocialClubName).Count()!= 0)
|
||||
if (dbContext.Users.Where(u => u.SocialClubName == player.SocialClubName).Count() != 0)
|
||||
{
|
||||
player.TriggerEvent("SERVER:Login_Error", "Es ist schon ein Konto mit dieser Socialclub-ID registriert.");
|
||||
return;
|
||||
@@ -79,10 +80,12 @@ namespace ReallifeGamemode.Server.Events
|
||||
currentPlayerCreatorDimension++;
|
||||
NAPI.Data.SetWorldData("playerCreatorDimension", currentPlayerCreatorDimension);
|
||||
player.Dimension = NAPI.Data.GetWorldData("playerCreatorDimension");
|
||||
player.TriggerEvent("toggleCreator",false);
|
||||
player.TriggerEvent("toggleCreator", false);
|
||||
player.SafeTeleport(new Vector3(402.8664, -996.4108, -99.00027));
|
||||
//player.Position = new Vector3(user.PositionX, user.PositionY, user.PositionZ);
|
||||
|
||||
HanfManager.UpdateHanfForPlayer(player);
|
||||
|
||||
if (GlobalHelper.CountdownUntil > DateTime.Now)
|
||||
{
|
||||
player.TriggerEvent("countdown", (GlobalHelper.CountdownUntil - DateTime.Now).TotalSeconds, GlobalHelper.CountdownText);
|
||||
|
||||
Reference in New Issue
Block a user