I just tried this on my pc:# account,
PHP Code:
function onCreated() {
temp.pl = findplayer("pc:10610964");
temp.pl.clientr.testclear = "abcdefg";
echo("Before: " @ temp.pl.clientr.testclear);
echo("Size Before: " @ temp.pl.clientr.getDynamicVarNames().size());
temp.pl.clientr.clearVars();
echo("After: " @ temp.pl.clientr.testclear);
echo("Size After: " @ temp.pl.clientr.getDynamicVarNames().size());
}
Quote:
|
Originally Posted by Output
Before: abcdefg
Size Before: 9
After:
Size After: 0
|