NPC Join then Disconnect
#1

Ive Added An npc system and When I start my server the npc joins then Leaves(part)


please help me
Reply
#2

Make sure you are allowing the NPC through your registration system etc.

Easy examples would be:
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
}

public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
}
EDIT: @Hoborific And that too... xD
Reply
#3

also check in server.cfg you haven't defined MAXNPCS as 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)