6PenTax
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 178 |
|
|
| 18 Jul 2014 12:54 AM |
| I don't have much knowledge of DataStoreService methods.. it's pretty confusing for me right now. I've heard :GetAsyc() or :UpdateAsyc() Encodes the table to JSON, so i'm assuming I don't need to Use JSON Encoding. |
|
|
| Report Abuse |
|
|
6PenTax
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 178 |
|
| |
|
|
| 18 Jul 2014 10:10 AM |
local DS = game:GetService("StorageService"):GetDataStore("Tables")
DS:SetAsync("Tab1", {"yolo"})
print(DS:GetAsync("Tab1")[1]) |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 10:13 AM |
You wont need to use JSON, although you might want to convert your numbers to base-256.
Also: DO NOT USE "&" OR "+" IN YOUR KEYS. |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jul 2014 10:17 AM |
URL encoding.
But you just need to know not to. |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 10:20 AM |
| I think I'll do it from now on to bug you XD |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 10:21 AM |
| All data past the & sign is lost (Or maybe its the + sign, cant remember which) |
|
|
| Report Abuse |
|
|