'LinKin Posted June 15, 2014 Share Posted June 15, 2014 Hello, Is there any limit when setting a player's element data when working with strings? I mean something like this: setElementData(thePlayer, "myDataKey" longAssString) The string can be quite long! It's storing the nicknames that a player has used. On average, 50 nicknames would be 650 characters long! Link to comment
xXMADEXx Posted June 15, 2014 Share Posted June 15, 2014 As far as I know there isn't. I don't think there would be, but if there is you could just use a table. Link to comment
ixjf Posted June 15, 2014 Share Posted June 15, 2014 (edited) There was a 128-char limit for the data name or value, before. If I recall correctly, it was removed already since it was useless. Other than that, there should be no limits. Edited June 15, 2014 by Guest Link to comment
'LinKin Posted June 15, 2014 Author Share Posted June 15, 2014 Okay. Anyway I've used a table since I'd like to display how many nicknames a player has had. Thank you 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