View Single Post
  #2  
Old 03-24-2011, 11:08 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
add() and remove() are for arrays only. You'd have to do it like this:
PHP Code:
findNPC("Astram").varname.add(stuff); 
Of course, varname can be anything. If you don't want to use arrays, do something similar to this:
PHP Code:
findNPC("Astram").varname = stuff; 
Reply With Quote