Can you guys help me with a little problem. Im spawning alot of zombie npcs and i need to know. How can i find there id when they are spawned? I have it so when the server start, they spawn. I have a global array ( NpcLevel ) that is set when they spawn. It is randomly set from 1,3. How do i find the npcs id so i can do
NpcLevel[npcid] = random.math(1,3)
from there i can fix my exp and money gain system xD. Thanks for all help.