My code is:
DS:SetAsync(plyr.UserId{
bans=0,
endmonth=1,
endday=1,
endyear=1})
This gives attempt to call a number value in the output. Can you not add numbers to dictionaries?? I have no idea why it's not letting me save a number.
My code is:
DS:SetAsync(plyr.UserId{
bans=0,
endmonth=1,
endday=1,
endyear=1})
This gives attempt to call a number value in the output. Can you not add numbers to dictionaries?? I have no idea why it's not letting me save a number.
Hello. I think you just forgot a comma after plyr.UserId.
DS:SetAsync(plyr.UserId, {
bans = 0,
endmonth = 1,
endday = 1,
endyear = 1
})
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Ahh, silly mistakes.
And that's why you always format your code so it's easier to catch errors.