SA-MP Forums Archive
NPC - 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)
+--- Thread: NPC (/showthread.php?tid=620441)



NPC - Micko123 - 30.10.2016

I never done anything with NPCs before so i followed this tutorial

https://sampforum.blast.hk/showthread.php?tid=95034

Problem is that NPC is not shown when i spawn. Only vehicle is created and NPC is not connected.. What could be the problem??

Also i am using blank script so there is not login/register anticheat and passwords..


Re: NPC - Micko123 - 30.10.2016

I got this from log
Код:
[10:26:14] Number of vehicle models: 1
[10:26:15] [connection] 127.0.0.1:54932 requests connection cookie.
[10:26:16] [connection] incoming connection: 127.0.0.1:54932 id: 0
[10:26:43] [connection] 127.0.0.1:61016 requests connection cookie.
[10:26:44] [connection] incoming connection: 127.0.0.1:61016 id: 0
[10:26:44] [join] M1ck0 has joined the server (0:127.0.0.1)
I see 2 ports here. Does that mean that NPC is connecting??
Still no NPC on server..


Re: NPC - Micko123 - 30.10.2016

FIXED

PRoblem what in server.cfg. Max npc was 0 xD