If you have more than 1 NPC connecting simultaneously it won't work!!.
Set a timer for about 1 second each and connect an NPC.
SetTimer("ConnectNPC1",1000,0);
The next NPC must be
SetTimer("ConnectNPC1",2000,0);
Then the next
SetTimer("ConnectNPC1",3000,0);
You can't keep ConnectNPCs one after other.
This code works because there is a gap between incoming connections.Server cannot connect all the players at once.
Quote:
Originally Posted by Bhxblu
Make Sure they are connect to the right IP you set them inside the script and Check the server.txt File to make sure they are loading up
|
There is nothing sort of IP giving to the NPC while connecting.And its "server_log.txt" and it gives the same information what the console gives nothing extra.