Posts: 50
Threads: 9
Joined: Sep 2010
Reputation:
0
server console shows npc has joined, but it doesn't show up in game and samp client player list.
i use a password gamemode, any one can help, thx a lot
Posts: 31
Threads: 10
Joined: Jan 2011
Reputation:
0
Put this line
if(IsPlayerNPC(playerid)) return 1;
in your onPlayerconnect, onplayerdisconnect and onplayerspawn lines. This should fix your problem, I had the same one a few weeks ago.
Where your password script is located make sure this is at the top, so that it reads this line before it reads anything about entering a password, if that makes any sense.
This line tells the server "yes" (hence the 1) which is where your getting stuck. Onplayerconnect, if the player is NPC, connect? "yes" hopefully you catch my drift. =]
Posts: 510
Threads: 49
Joined: Apr 2009
Reputation:
0
Just to let ya know if u gonna wonder why you have lags maybe because of too much NPC's :P so better not to put 20+ of them lol
Posts: 252
Threads: 41
Joined: Mar 2011
Reputation:
0
is your server passworded? if so remove the password