Jump to content
  • 0

account variable?


Question

Posted

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

Posted

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
Posted (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 by KirieZ
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...