Npc's Problem - 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's Problem (
/showthread.php?tid=292162)
Npc's Problem -
Cpt.Shady - 22.10.2011
I got a problem with the npcs i got 68NPCs filterscript and it works somewhat all npcs connect fine but after 3 seconds
about 10-15 get disconnected i get on the server and another 5 or 10 are stuck at spawn while others work just fine
I tested this on a empty server no filterscripts or plugins even the gamemode is the new.pwn in pawno. I heard that
there are some settings i have to do in order to fix those problems if anyone could help i'd be really greatfull!
Thanks anticipated
Re: Npc's Problem -
THE_KNOWN - 23.10.2011
change maxnpcs in server.cfg?
Respuesta: Npc's Problem -
Cpt.Shady - 23.10.2011
YEAH!
else ?
Re: Npc's Problem -
Kostas' - 23.10.2011
Common problems by kc
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.
Respuesta: Npc's Problem -
Cpt.Shady - 23.10.2011
Problem done
READ DOWN
Re: Npc's Problem -
Zonoya - 24.10.2011
i dont think u can Shady
Re: Npc's Problem -
Cpt.Shady - 24.10.2011
can ...
I know more than 3 servers have public NPCs ... (you can see, for example: 6 / 120

I also have 6 NPC!
server appear well
list server but not see ...
How do I make those pictures?
thx
EXAMPLE SERVER
Re: Npc's Problem -
Zonoya - 24.10.2011
oh ok i dont know how then
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds. Oh Fk off xD