Add Login Security

This commit is contained in:
VegaZ
2018-09-23 12:16:40 +02:00
parent 1538b41ffb
commit 12486929cf
5 changed files with 46 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ namespace reallife_gamemode.Server.Events
{
player.TriggerEvent("loginSuccess");
NAPI.Player.SpawnPlayer(player, Main.DEFAULT_SPAWN_POSITION, Main.DEFAULT_SPAWN_HEADING);
player.SetData("isLoggedIn", true);
}
}
}