JeViCo Posted September 21, 2018 Share Posted September 21, 2018 (edited) Hello everyone. Something wrong here and i can't understand what - it always outputs boolean server-side addCommandHandler("gac",function(pl) setAccountData(getPlayerAccount(pl),"player:weapon_accur",{}) local acc = getPlayerAccount(pl) tab = getAccountData(acc,"player:weapon_accur") print(type(tab)) end) Edited September 21, 2018 by JeViCo Link to comment
TRtam Posted September 21, 2018 Share Posted September 21, 2018 As the wiki says: you cannot store tables as value, but you can use toJSON strings. 1 Link to comment
JeViCo Posted September 21, 2018 Author Share Posted September 21, 2018 1 hour ago, TRtam said: As the wiki says: you cannot store tables as value, but you can use toJSON strings. oh, i didn't see that. Thank you 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now