02.12.2012, 11:22
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:
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?
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);
My maxnpc is set to 400. (yeah, i know it's many) So it's not the problem.
What could be wrong?