How do i make a Trade System?

How do i make a Trade System?
Thanks, Mason

Do you have any attempted code? It’s better to at least attempt it and ask if you need help.

As a general idea, you can pass values (or simply strings) to the server for the requested trade in something like a table, from the server you can prompt the trade request to the recipient with that table(s) and organize it on the UI accordingly. If the recipient accepts the trade, you’ll simply take away the correlating items from the player and give them the other persons items.

That’s overly simplified and you’d have to have some form of sanity checks etc. but that’s a basic idea.

1 Like

Here’s reference to a post I made awhile back, which details the core tasks of a trade system:

1 Like