Hi, I am trying to do something like this:
I tried to find a plugin that helps me with it but I didn't find anything.Code:[ChatCommand("save")] void Testing(BasePlayer player) { // Save player items } [ChatCommand("restore")] void Testing2(BasePlayer player) { // Restore items }
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.
Save and restore items from inventory
Discussion in 'Rust Development' started by Reynostrum, Jan 23, 2016.
-
Wulf Community Admin
-
Thanks Wulf, but I need something in C# because the plugin that I am making is C#.
-
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.
-
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. -
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.
