#1

hey guys! i made this new npc using NPC generator, but the problem i see, is taht the npc joins, and after few minutes he leaves, can you help me?

pawn Код:
[npc:join] Alky has joined the server (0:127.0.0.1)
[npc:part] Alky has left the server (0:0)
Reply
#2

Do you have some admin system which forces everyone to login?
Also check server.cfg that maxnpc is bigger than 0.
Reply
#3

If you have a registration system you should add:

pawn Код:
if(IsPlayerNPC(playerid)) return 1;

Quote:
Originally Posted by Johnson_boy
Посмотреть сообщение
Also check server.cfg that maxnpc is bigger than 0.
If it's 0 it can't connect. Here the NPC Connects and unconnects. I think there is a timer for registration system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)