Jump to content
  • 0

account variable?


KirieZ

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/16/12
  • Last Seen:  

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

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).

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/16/12
  • Last Seen:  

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 by KirieZ
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

is there a button to mark the topic as solved?

Only moderators can. xD

Edited by Euphy
I stand corrected.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

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

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...