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



Connecting NPC - DusanInfinity - 14.07.2015

When i try to connect NPC, i just get this:

Код:
[22:08:14] [connection] 127.0.0.1:60029 requests connection cookie.
[22:08:15] Incoming connection: 127.0.0.1:60029 id: 0
And npc dont want to connect... I write in Onplayerconnect print to tell me when npc connect, but it dont print it...


Re: Connecting NPC - Adrianos - 14.07.2015

in 0.3.7 is remove npc and added actors !


Re: Connecting NPC - DusanInfinity - 14.07.2015

Fixed... I dont saw this:
Quote:

My NPCs used to connect, but now I have upgraded to >= RC5 they don't.
There is a new maxnpc server.cfg variable that defaults to 0. add...
Code:
maxnpc number_goes_here
...to your server.cfg to fix this issue.




Re: Connecting NPC - Darkwood17 - 14.07.2015

Quote:
Originally Posted by Adrianos
Посмотреть сообщение
in 0.3.7 is remove npc and added actors !
No, they are not removed. Because actors are added, this don't mean that NPCs are removed.
Quote:
Originally Posted by SA-MP Wiki
Create a static 'actor' in the world. These 'actors' are like NPCs, however they have limited functionality. They do not take up server player slots.