[HELP] my npc doesnt show up
#1

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
Reply
#2

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. =]
Reply
#3

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
Reply
#4

is your server passworded? if so remove the password
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)