[ChatCommand("lobby")]
void lobby(BasePlayer player)
{
if(permission.UserHasPermission(player.UserIDString, USE))
{
player.ClientRPCPlayer(null, player, "StartLoading");
player.StartSleeping();
player.Teleport(new Vector3 (-6, 13, 280));
}
else {
SendReply(player, "<color=orange>[ESP] RustLegend:</color> No puedes hacer eso desde aqui!");
}
}Im using this code to teleport players with permissions to those coords. When running the command the loading screen apears, player gets teleported but the loading screen gets stuck on recieving data. How is the propper way to do it? Thank you very much!