NPCs-not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: NPCs-not working (
/showthread.php?tid=222013)
NPCs-not working -
sherlock - 06.02.2011
Ok so i add the npcs and do everything correct like edit server.cfg with the fs and npc and then when i go ingame after restarting the server the npc car is there but no npc. When i look at the console no npc has even tried to join my server.
Re: NPCs-not working -
Hal - 06.02.2011
did you follow kc's tutorial in the tut section? It worked great for me.
Did you keep the miniscript in the npcmode folder? Some people put it as a filterscript
Re: NPCs-not working -
sherlock - 06.02.2011
Quote:
Originally Posted by Hal
did you follow kc's tutorial in the tut section? It worked great for me.
Did you keep the miniscript in the npcmode folder? Some people put it as a filterscript
|
Yes i had tried an npc script before and all it did was put the npc car there but no npc. And so yeah i tried to make my own and the same result. Im sure everything is in the right places and the recording and the different .amx and .pwn and server.cfg is set to 1 npc too.
Re: NPCs-not working -
Hal - 06.02.2011
https://sampforum.blast.hk/showthread.php?tid=95034
I followed everything in there, and mine work great.
OH, maybe you have them set to on foot?
or missing
pawn Код:
ConnectNPC("Dave","mynpc");
Re: NPCs-not working -
sherlock - 06.02.2011
Nope,they are the number for in car and im not missing that. I think is the gm.
Re: NPCs-not working -
Hal - 06.02.2011
Quote:
Originally Posted by sherlock
Nope,they are the number for in car and im not missing that. I think is the gm.
|
Is you server passworded? OR is there some kind of bot protection?
Re: NPCs-not working -
sherlock - 06.02.2011
nope and nope
Re: NPCs-not working -
SWEMike - 06.02.2011
Have you edited the "maxnpc" line in the server.cfg to 1?
Re: NPCs-not working -
Hal - 06.02.2011
Quote:
Originally Posted by sherlock
server.cfg is set to 1 npc too.
|
Quote:
Originally Posted by SWEMike
Have you edited the "maxnpc" line in the server.cfg to 1?
|
Answered.
Re: NPCs-not working -
sherlock - 06.02.2011
Quote:
Originally Posted by SWEMike
Have you edited the "maxnpc" line in the server.cfg to 1?
|
yes i said that above