Jump to content
  • 0

variable question


Question

Posted (edited)

What variable is permanent global variable?

I mean, I used

$variable

but my NPC can't ready it. I mean, for example When player X talks to NPC, $variable will be set to but when I try to check if $variable = 1 , it shows 0

 

Basically my question is a global variable that will not delete when I reload my server or restart.

 

Thanks!

Edited by LatSo

4 answers to this question

Recommended Posts

Posted

Oh sorry, I must have missed that detail.

Could you show your script, please?

wait Ill change back to permanent variables again and ( changed it to temporary since I got this error/bug ) Ill message you the script in a while

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