[16:49:05] [npc:join] Grove2 has joined the server (0:127.0.0.1) [16:49:05] [npcart] Grove2 has left the server (0:2) [16:49:05] Incoming connection: 127.0.0.1:54210 [16:49:05] [npc:join] Grove3 has joined the server (1:127.0.0.1) [16:49:05] [npcart] Grove3 has left the server (1:2) [16:49:05] Incoming connection: 127.0.0.1:54208 [16:49:05] [npc:join] Grove1 has joined the server (2:127.0.0.1) [16:49:05] [npcart] Grove1 has left the server (2:2) [16:49:05] Incoming connection: 127.0.0.1:54211 [16:49:05] [npc:join] Grove4 has joined the server (3:127.0.0.1) [16:49:05] [npcart] Grove4 has left the server (3:2) [16:49:05] Incoming connection: 127.0.0.1:54212 [16:49:05] [npc:join] Grove5 has joined the server (4:127.0.0.1) [16:49:05] [npcart] Grove5 has left the server (4:2) |
maxnpc 25 |
Originally Posted by kc
Common problems
My NPC leaves my server after it joins Your script is forcing the NPC to login, or you have an anti-cheat / ping kicker that is interfering with your NPC. You can add... pawn Код:
My NPC doesn't join my server at all This is most likely caused by your server being passworded. I can't get the npc_record filterscript to load You either don't have the filterscript, or it is already loaded. Try continuing anyway. My NPC just stands at the spawnpoint Go back, and re-do the OnPlayerSpawn part of the tutorial. 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... Код:
maxnpc number_goes_here |
if(IsPlayerNPC(playerid)) return 1;