Thread: getnpc
View Single Post
  #3  
Old 04-24-2003, 02:56 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Pokilty
I'm pretty sure it's the same as getplayer(). Just find the index of the NPC and use getnpc(index) and you can change all the attributes an npc has (x,y,etc..).
wrong

with(getnpc(Name))
gets a database npc from the npc list
with(npcs[index]) gets an npc using an index
Reply With Quote