NPC Little help
#1

How can i make my NPC'S join my server, It has login/register system which one has to type the password, How can i do it, If i do it normally npcs are leaving the server
Reply
#2

login/register system does not have anything to do with npcs leaving the server
Reply
#3

It has something to do, What i need to do is create a user file for NPC, edit the password and make a command so that npc types a password, But the problem is login system is not /login password, It is dialog based which means a box appears and we have to type password in it, How can i make an NPC type password any ideas?
Reply
#4

Playerking i thing you dont know the system of NPC, they are scripted players you know what i mean
Reply
#5

a login/register system can influence a npc (not logging in/leaving). you can bypass all that trouble by editing your
OnPlayerConnect(), check if IsPlayerNPC(playerid) and if so, let the callback return to your SpawnPlayer/put it (the NPC) into your vehicle etc...
iam sure i forgot something - iam really tired, gl ^^
Reply
#6

Thanks babul, but isn't there any need to make A npc type a password coz i saw it in some tutorial
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)