sammy1229
|
  |
| Joined: 05 Aug 2010 |
| Total Posts: 669 |
|
|
| 03 Nov 2012 08:39 AM |
I want to create a button on a GUI that saves the players money. And I want to have a thing so that your money loads when you enter the server. I've never experimented with data persistance before, and the wiki article just confuses me. Help? |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 08:50 AM |
ply:SaveNumber(theMoney,"thecap") -- to Save
theMoney:LoadNumber("thecap") -- To Load, I believe |
|
|
| Report Abuse |
|
|
sammy1229
|
  |
| Joined: 05 Aug 2010 |
| Total Posts: 669 |
|
|
| 03 Nov 2012 08:56 AM |
And why is the "thecap" there. I'm pretty sure that has nothing to do with the string.
|
|
|
| Report Abuse |
|
|
sammy1229
|
  |
| Joined: 05 Aug 2010 |
| Total Posts: 669 |
|
| |
|