Help with Npcs [CNPC]
#1

Can SomeOne Help me adding Cnpcs to my server Because they doesnt spawn :S

Sorry for my bad english

Edit:

I found this searching but problem dosnt disappear

new Npc1 = FindLastFreeSlot();
CreateNPC(Npc1, "Zombie");

SpawnNPC(Npc1);
printf("Last free slot: %d",FindLastFreeSlot());
Reply
#2

SetSpawnInfo is the function you want to use. Find it on wiki, I bet that was my code right?
Reply
#3

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
SetSpawnInfo is the function you want to use. Find it on wiki, I bet that was my code right?
Yes, mmm in gamemode init?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)