Solved Command / help info

Discussion in 'Plugin Requests' started by Moderation, Jan 17, 2016.

  1. Hello, i installed Pets for Rust | Oxide and due to the huge amount of info and commands that go along with it i wanted players to be able to do ether /help or /pets in game to bring up a list of information regarding how to command pets and the commands.

    I attempted to fill all the info into Auto Broadcast but it fills the chat up way too much and i dont want it to appear every so often, only when a command is sent.

    Thank you! Any helps or tips on doing this would be appreciated
     
  2. Wulf

    Wulf Community Admin

  3. Of course i'm willing to write the info myself, does help text allow you to input custom info for plugins when calling a certain command? Say i call /pets it will show what info i input under that command in Helptext Config?

    Just had a look at Helptext, seems pets does not include anythign for helptext to hook into it.

    Would including

    Code:
    function PLUGIN:SendHelpText(player)
        player:ChatMessage("helptext")
    end
    Into Pets allow Helptext to hook into it?
     
  4. Wulf

    Wulf Community Admin

    The 2nd plugin I linked would support custom commands, not the first.
     
  5. Alright thank you Wulf