Thread: putnpc2 problem
View Single Post
  #6  
Old 07-02-2007, 11:11 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
But, I still have the problem..
Inver told me to do level.putnpc2()

When using that no errors occured in rc, but it wouldn't put the class in the level

Problem solved:

two methods works: (Thanks Inver for the level.putnpc2())

PHP Code:
temp.obj findplayer(this.acct).level.putnpc2(3030"");
temp.obj.join("classname");
temp.obj.var = "foo"
or

PHP Code:
with(findplayer(this.acct)) {
  
temp.obj this.level.putnpc2(3030"");
  
temp.obj.join("classname");
  
temp.obj.var = "foo";

__________________
Reply With Quote