class Helpsystem : HurtworldPlugin { #region Loads And Saves void LoadDefaultMessages() { void messages = new Dictionary<string, string> args[]; { {"Help1","General commands: /tphelp - /stakeshelp - /car help - /players"}, {"Help2","General commands: /voteday - /meteor - /weatherclear"}, {"Help3","General commands: /rule1"}, {"Help4","General commands: /rule2"}, {"tphelp","Telepoort: use /tpr to teleport to someone and use /tpa to accept the teleportation from someone else"}, {"stakeshelp","Stakes: /stakes fill - /stakes share - /stakes"}, {"homehelp","Home: /home - /homes - /sethome"}, {"rulehelp","Raid: if you've raided someone then give that person three days to start over again if not urn a tempban of 3 days!"}, {"rulehelp","Tp: If you're kill someone while he is teleport on you you'll urn a tempban for 1 day!"}; } lang.RegisterMessages(messages, this); } public static List Godlist = new List(); string Msg(string msg, string SteamId = null) => lang.GetMessage(msg, this, SteamId); #endregion #region [CHAT COMMANDS] [ChatCommand("help")] private void helpCommand(PlayerSession session, string command, string[] args) { hurt.SendChatMessage(session, null, Msg("Help1")); hurt.SendChatMessage(session, null, Msg("Help2")); hurt.SendChatMessage(session, null, Msg("Help3")); hurt.SendChatMessage(session, null, Msg("Help4")); return; } } } #endregion
Well've tried everything but I can't figure it out,
Mabye it's something simple but I'm working on this almost, 3 hours,
So of someone can help me with this that would be nice
MVG
TruxDeadnitro