Quote:
Originally Posted by adam
PHP Code:
function onCreated() {
clearemptyvars(); // doesn't crash when used here
this.test.var = "testing";
echo( this.test.getDynamicVarNames() );
this.test.var = "";
echo( this.test.getDynamicVarNames() );
//clearemptyvars(); // crash's when i swap it to here
echo( this.test.getDynamicVarNames() );
}
I'm not exactly sure what's going on here. It seems to crash when used alongside echo() Which is silly.
|
I can confirm that this crashes the NPC Server, however, it has nothing to do with the echo(). Try setting temp.somevar = this.test.getDynamicVarNames() instead of echoing it, and the server will still crash.