View Single Post
  #1  
Old 01-26-2006, 02:38 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Copylevel Problem?

Ok so im trying to make an npc that will copy levels.

PHP Code:
// NPC made by Jerret
if (created) {
 
setimg house.png;
 
this.var=3;
 
setstring this.level,playerhouse_#v(this.var).nw,32,32;
 
copylevel examplehouse.nw,levels/insides/#I(this.level,0);

But when I go check for the level I cant find it. Now this is the first time using the command some im not really sure if its supposed to be invisible in the file manager.

Im not sure if its a folder problem but heres the level section of the Folder Configuration.

#LEVEL CONFIGURATION
level *.graal
level *.nw
level *.gmap
level levels/*.*
level levels/insides/*.*

Note: I couldnt put it in a php code block because it wouldn't display certain parts correctly.

Is there a server option that prevents me from doing this or what?
Any help would be much appreciated.
__________________
Quote:
Reply With Quote