Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Showing a player's inventory to the client?

Asked by
trecept 367 Moderation Voter
5 years ago

I'm currently planning on making an inventory where when a player joins, a table is created as their inventory with all their items, which could be over 100.

In the past I have created a folder inside the player and since there were only 10 items in the game I made values for each item in the folder, so when they were bought, the value would change to show it was bought and the client could update to show the new inventory. However if I have a table on the server, how would I show their inventory? I don't know of any value that I can put inside the player to show their entire inventory, and I don't know if spamming remotes to the client with the updated inventory is a good idea?

0
If you are going between client and server, then there are some options I suggest: Remote functions and remote events (which you said you said you don't want to be spamming to the client, but you still can spam them). You can also use values to pass info back and forth between client and server) RetroGalacticGamer 331 — 5y

Answer this question