SA-MP Forums Archive
Whats Wrong Is tHe 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats Wrong Is tHe Npc (/showthread.php?tid=120616)



Whats Wrong Is tHe Npc - robert4049 - 12.01.2010

If it Connect And Right after Disconnects What Is Messed Up?


Re: Whats Wrong Is tHe Npc - [HiC]TheKiller - 12.01.2010

Make sure you change the max npc's in server.cfg.


Re: Whats Wrong Is tHe Npc - robert4049 - 12.01.2010

it cause i have a registration... how would i remedy that?


Re: Whats Wrong Is tHe Npc - MaykoX - 12.01.2010

Quote:
Originally Posted by robert4049
it cause i have a registration... how would i remedy that?
search :P


Re: Whats Wrong Is tHe Npc - Correlli - 12.01.2010

Quote:
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 Код:
if(IsPlayerNPC(playerid)) return 1;
... as the first line of any callbacks that bots will use, e.g. OnPlayerRequestClass or OnPlayerRequestSpawn. For an efficient, simple way of excluding NPCs from loops, check out foreach by ******.

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
...to your server.cfg to fix this issue.



Re: Whats Wrong Is tHe Npc - Jakku - 12.01.2010

I have a simple solution, SEARCH