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
Seed purchases from a shop.
Sooo… the second option?
Yes the second option
What are you trying to save? I’m a little confused, sorry
Are you looking for a way to get the seeds from someone?
When someone buys art i want it to save the art they bought so when they come back it says they bought it.
if (product) # returns true if the product named “product” was purchased
I am new to that type of code. Could you pleese tell me what that means?
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.
thanks i will try it
What is the else it the middle of the code?
“Else” means the check failed or is false. It’s just a simple check if else block.
Soo when people buy art from my shop they can only do it once and it will remember that they bought it? @Crosbyman64
yep, that is correct!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.