NPC problem.
#1

Hello. I've tried to use Controllable NPC by Lorenc_, but I'm encountering weird problem.
https://sampforum.blast.hk/showthread.php?tid=301370

So. I've taken a clean gamemode, and I've just added a single line:
Код:
CreateCNPC("bot1", 7, 2808.0305,-1444.9749,16.2287);
When I add this line in OnGameModeInit I cannot even join the server, as it closes the connection with me, but when I add this line in OnPlayerSpawn I can join the server, it doesn't kick me, but NPC joins and leaves the server immadietly.
My maxnpc is set to 400. (yeah, i know it's many) So it's not the problem.
What could be wrong?
Reply
#2

You probably have a firewall so its kicking the npc
Reply
#3

No firewall.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)