Quote:
Originally Posted by Andy0687
PHP Code:
for (i: getstringkeys("client.foo.")) {
client.foo.(@ i) = NULL;
}
im suprised 27 views before me and I still managed to get here in time. But there you go.
|
Quote:
Originally Posted by zokemon
First thing I tried:
NPC Code:
for (temp.d : client.blah.getdynamicvarnames()) {
("client.blah." @ temp.d) = "";
}
A for loop that checks all the getdynamicvarnames() and deletes all that data in each sub variable. Problem here is you get a "folder depth" issue where you have to have for loops inside for loops if you have variables like this:
client.blah.rar.test (while trying to clear client.blah)
This method works but is obviously very lag intensive.
|
Already did that. Please read what I said and what I am asking.