Make Login compatible with NPCBots
#1

Hy everyone. I have a problem with NPCBots and I thinks that this problem are because of login system.
Someone can give me a tutorial with how can I make an Login System compatible with NPCBost?

I search for a tutorial like this but i can't found it.

Sorry for my bad english.

Thanks for support!
Reply
#2

What do you mean exactly?
That NPCbots can login?

pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid)){
        //Login
    }
    return 1;
}
Reply
#3

Not work. In Server Console appear Imcoming Connection 127.0.0.1ort but this NPCBot don't login.
Reply
#4

Try using ConnectNPC under ongamemode init [ https://sampwiki.blast.hk/wiki/ConnectNPC ]
Reply
#5

on my server its the problem the dont connect yes i have checkt the npc connection in my server file[stunt.pnw] everything
please help me

download:
www.sa-mp.moonfruit.com

go to the download page and down load it

please help
Reply
#6

I use ConnectNPC under ongamemode init but don't work. I put maxnpc 1.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)