Help me make a shop plz!

I am working on making a shop for art and I don’t know how to make it save when hopscotchers buy the art. So if anyone can help that would be great! Possible Helpers? @Crosbyman64 @Alboy
@Viridescence

5 Likes

Is this referring to seed purchases in app or purchases from a shop in Shops & Requests?

4 Likes

Seed purchases from a shop.

4 Likes

Sooo… the second option?

6 Likes

Yes the second option

5 Likes

What are you trying to save? I’m a little confused, sorry

Are you looking for a way to get the seeds from someone?

5 Likes

When someone buys art i want it to save the art they bought so when they come back it says they bought it.

3 Likes
if (product) # returns true if the product named “product” was purchased
3 Likes

I am new to that type of code. Could you pleese tell me what that means?

4 Likes

Here’s some visuals:

Obviously use the name of your product(s)

(@GrandmasterK)

5 Likes

If users buy the product via a forum shop, you’ll need to check for that user’s username in the game before saying they purchased it.

If users buy them via an in-game shop, refer to the images above ^^^

The second option prevents editing and ensures no one can get products for free.

2 Likes

thanks i will try it

What is the else it the middle of the code?

2 Likes

“Else” means the check failed or is false. It’s just a simple check if else block.

4 Likes

Soo when people buy art from my shop they can only do it once and it will remember that they bought it? @Crosbyman64

3 Likes

yep, that is correct!

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.