Make Login compatible with NPCBots - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Make Login compatible with NPCBots (
/showthread.php?tid=231974)
Make Login compatible with NPCBots -
Vibrate17 - 26.02.2011
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!
Re: Make Login compatible with NPCBots -
Kwarde - 26.02.2011
What do you mean exactly?
That NPCbots can login?
pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)){
//Login
}
return 1;
}
Re: Make Login compatible with NPCBots -
Vibrate17 - 26.02.2011
Not work. In Server Console appear Imcoming Connection 127.0.0.1
ort but this NPCBot don't login.
Re: Make Login compatible with NPCBots -
ifly4life - 26.02.2011
Try using ConnectNPC under ongamemode init [
https://sampwiki.blast.hk/wiki/ConnectNPC ]
Re: Make Login compatible with NPCBots -
kross1996 - 28.02.2011
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
Re: Make Login compatible with NPCBots -
Vibrate17 - 28.02.2011
I use ConnectNPC under ongamemode init but don't work
. I put maxnpc 1.