Add Login Security
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user