KirieZ Posted December 17, 2012 Posted December 17, 2012 Hello everyone, today I was working on a script and get stuck on the following problem: I need to save values on player account (something like 100 values), I noticed that " setarray #values[0], 1, 2, 3; " don't work. So, what can I do? thanks in advance. sorry my bad english Quote
Euphy Posted December 17, 2012 Posted December 17, 2012 You can't create permanent character or account arrays. There's a limit on the total number you can use (or your server will lag), so you should definitely try reducing the number - either using bit variables, if possible, or storing multiple values inside a string (using implode/explode). 1 Quote
KirieZ Posted December 17, 2012 Author Posted December 17, 2012 (edited) Thanks Euphy, I never thought of using a string, I will see what I can do. @edit: I'm new here, is there a button to mark the topic as solved? Edited December 17, 2012 by KirieZ Quote
Euphy Posted December 17, 2012 Posted December 17, 2012 (edited) is there a button to mark the topic as solved? Only moderators can. xD Edited December 18, 2012 by Euphy I stand corrected. Quote
ToiletMaster Posted December 18, 2012 Posted December 18, 2012 is there a button to mark the topic as solved? Only moderators can. xD Euphy, i believe that if you edit your first post, you can put the solved tag by yourself xD i did it with my threads a few times already xD 1 Quote
Question
KirieZ
Hello everyone, today I was working on a script and get stuck on the following problem:
I need to save values on player account (something like 100 values), I noticed that " setarray #values[0], 1, 2, 3; " don't work.
So, what can I do? thanks in advance. sorry my bad english
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.