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.
Question
LatSo
What variable is permanent global variable?
I mean, I used
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 LatSo4 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.