Quote:
Originally Posted by Chompy
Oh yeah, the error was it would just return an error in rc..
And, with your example I could do
PHP Code:
public function dropItem(id) { temp.obj = putnpc2(30, 30, ""); temp.obj.join("class name"); temp.obj.id = id; }
and then I would be able to do this.id in the class and return the id gived to the function dropItem?
Edit: Doesn't work in a WNPC 
|
id is a reserved variable. You can't overwrite it. ( Or is that npcid? or name? I'm not sure anymore. )