Posts: 498
Threads: 233
Joined: Aug 2013
Reputation:
0
i am trying to make a command ,i do everything right,but the getting information and putting information i fail at,how could i make like after checking if the file exists it gives that player the amount i wrote of pot,like if i write /opot id 5,it gets his pot from his file like if he had 10 and set it to be 15,how?
Posts: 498
Threads: 233
Joined: Aug 2013
Reputation:
0
ye i know this but how can i make like if he has 5 pot and i put /opot id 5 it gives him 5 so it be 10?
Posts: 202
Threads: 18
Joined: Oct 2013
Reputation:
0
You can create a variable to store/load in the player's pot amount and then add the entered number into that variable and then set it/save it with the final amount.
Posts: 498
Threads: 233
Joined: Aug 2013
Reputation:
0
I have did that before but i had only 1 error in the vailable that gets the amount of the pot i posted the error no one answered,they are just here to help guys who ask noobish questions and get reps,no one can help me?