Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Need help with changing values in dictionary!?

Asked by 8 years ago

Here's the error line :

DataTable[6][tostring(Player)] = nil

Here's the data store (JSONEncoded, then decoded.) (Pay attention to {"Player1":"Captain"})

["Crew",""," ",1,0,"Player1",{"Player1":"Captain"}]

Here's the error:

attempt to index field '?' (a string value)

1 answer

Log in to vote
0
Answered by 8 years ago

NVM, It's just being dumb and can't count properly.

Ad

Answer this question