NPC dont connect
#1

Hello!

im trying to add my NPCs from my 3c script to my new 3d script, but they doesnt want to.
i have put this on all places they need to be, i have tried on the top and on the bottom of each function like login/register/connect etc..but they still not connect, they connect but they are not in game to be correct.

Is there enymore then this i need to add now in 3d?
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Reply
#2

Have you tried changing the "maxnpc" line in server.cfg?
Reply
#3

Add the connect bot code on OnGameModeInit and put the IsPlayerNPC code at the TOP of OnPlayerConnect, OnPlayerSpawn and OnPlayerDisconnect. Sorry I can't provide examples I'm on my mobile.
Reply
#4

Quote:
Originally Posted by Mean
Посмотреть сообщение
Have you tried changing the "maxnpc" line in server.cfg?
Ah! that was my fail XD Thanks!!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)