SA-MP Forums Archive
NPC Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: NPC Help (/showthread.php?tid=152459)



NPC Help - NewTorran - 04.06.2010

Hello,

I have followed "kc" tutorial on how to create a NPC,
I have done everything he said...

I load the FS that connects the NPC.

My server log shows this:
[12:44:35] Incoming connection: 127.0.0.1:54098
[12:44:35] Incoming connection: 127.0.0.1:54099
[12:44:35] Incoming connection: 127.0.0.1:54101
[12:44:35] Incoming connection: 127.0.0.1:54102
[12:44:35] Incoming connection: 127.0.0.1:54100
[12:45:45] Incoming connection: 127.0.0.1:51588

But ingame they are not there. Why is this?


Re: NPC Help - iJumbo - 04.06.2010

you set the max npc in server.cfg?


Re: NPC Help - NewTorran - 04.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
you set the max npc in server.cfg?
Yes its set to 5


Re: NPC Help - iJumbo - 04.06.2010

you have put the right scripts in npc modes?


Re: NPC Help - NewTorran - 04.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
you have put the right scripts in npc modes?
Yes


Re: NPC Help - iJumbo - 04.06.2010

under ongamemode int

ConnectNPC.....

and under on player spawn ... ?


Re: NPC Help - DJDhan - 04.06.2010

If you have followed his tutorial, did you put them in any vehicle? Can you show me the script from the filterscript where you setspawninfo an stuff?
I can't just guess you know. I have followed his tutorial and had some problems which i fixed. Your problem looks familiar.


Re: NPC Help - NewTorran - 04.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
under ongamemode int

ConnectNPC.....

and under on player spawn ... ?
http://pastebin.com/Q9Wrr7tJ


Re: NPC Help - DJDhan - 04.06.2010

Are you allowing them through your registration and login system Torran?



Re: NPC Help - NewTorran - 04.06.2010

Quote:
Originally Posted by DJDhan
Are you allowing them through your registration and login system Torran?
That isent loaded.