Quote:
Originally Posted by projectigi
Yeah I did something like this
NPC Code:
this.test = "blub";
this.test.savestring( "levels/blub.txt", 0 );
and
NPC Code:
this.test = "blub";
this.test.savestring( "blub.txt", 0 );
there snot any blub.txt in levels/ :<
|
PHP Code:
this.test = new TStaticVar();
this.test.var1 = "blub";
this.test.savevars( "levels/blub.txt", 0);