SA-MP Forums Archive
Connecting an NPC to a passworded server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Connecting an NPC to a passworded server (/showthread.php?tid=207916)



Connecting an NPC to a passworded server - Jochemd - 07.01.2011

Hello

Quote:

- NPC can connect to a passworded server.

This quote can be founded here. I haven't found how to yet, and an NPC doesn't connect automatically if the server is passworded. Does anyone know how I can do it?

Regards, Jochem


Re: Connecting an NPC to a passworded server - Retardedwolf - 07.01.2011

Just don't use that password script a password thing by yourself.


Re: Connecting an NPC to a passworded server - Jochemd - 07.01.2011

I understand that, but that topic says it IS possible?


Re: Connecting an NPC to a passworded server - Lorenc_ - 07.01.2011

MAYBE. Set a timer to allow the npc to connect then lock it via the SendRconCmd function, my way >.>


Re: Connecting an NPC to a passworded server - Jakku - 07.01.2011

Don't add the password in server.cfg. First, connect the NPCs and then set your password via SendRconCommand.

E: Lorenc_ was faster than me :P