Jump to content

Hykatsu

Members
  • Content Count

    2
  • Donations

    $0.00 
  • Joined

  • Last visited

Recent Profile Visitors

324 profile views
  1. Connect on the client, then use this command in the server : - defineaccess "player name" "Access number" Player name = Name Access = (0 player) (1 moderator) (2 editor) (3 admin)
  2. Hi, For waiting you can use this if you want : Server Source > Program.cs > public static void ExecuteCommand(string Command) Add : case "tp": byte Map; byte X; byte Y; // Verifica se o que está digitado corretamente if (Parts.GetUpperBound(0) < 4 || string.IsNullOrEmpty(Parts[1]) || !Byte.TryParse(Parts[2], out Map ) || !Byte.TryParse(Parts[3], out X) || !Byte.TryParse(Parts[4], out Y)) { Console.WriteLine("Use: tp 'Player Name' 'Map' 'X' 'Y' "); return; } // Encontra o jogador Index = Player.FindUser(Parts[1]); if (Index == 0) { Console.WriteLine("This player is either offline or doesn't exist."); return; } // teleport player Player.Warp(Index, Map, X, Y); // Salva os dados Console.WriteLine(Parts[1] + "has been teleported."); break; Then Server > Player.cs Change : Private static void Warp(byte Index, short Map, byte x, byte y) For : Public static void Warp(byte Index, short Map, byte x, byte y) It's just a temp solution, but it's working. In the server, type this for teleport : tp accountname Map X Y
×
×
  • Create New...