1. Hi, I am trying to do something like this:

    Code:
    [ChatCommand("save")]
            void Testing(BasePlayer player)
            {
               // Save player items
            }
    [ChatCommand("restore")]
            void Testing2(BasePlayer player)
            {
              // Restore items
            }
    I tried to find a plugin that helps me with it but I didn't find anything.

    I don't pretend you make all the work, but if you can help me a little or give me a clue I would appreciate.

    Thank you.
     
  2. Wulf

    Wulf Community Admin

  3. Thanks Wulf, but I need something in C# because the plugin that I am making is C#.
     
  4. Wulf

    Wulf Community Admin

    You can get a general idea of how it works via the Lua code, you don't need someone to write it for you. ;)
     
  5. That is exactly what I don't want.
    I always try to code by my own.
    I din't know LUA is similar to C#

    Thanks Wulf.
     
  6. Wulf

    Wulf Community Admin

    I started with Lua and moved to C#, but it's pretty similar in terms of how you call things with a few exceptions.