NPC HELP
#1

my server have register sistem with male/female etc...
When the npc connected to the server put him in the sawn point and need to follow the questions for register!

How can i do to login automaticali the npc without register?

Sorry for my english but i'm from romania!
Reply
#2

try:

Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(IsPlayerNPC(playerid)) 
    {
       return 1;
    }

	return 1;
}
Reply
#3

the line is already there
Reply
#4

anybody please?
Reply
#5

heeeeeeeelp please!
Reply
#6

stop bumping ur thread your only allowed to bump every 24hours
Reply
#7

Add these:
pawn Код:
public OnPlayerConnect( playerid )
{
    if( IsPlayerNPC( playerid ) ) return 1;
    // And your usual code...
}
pawn Код:
public OnPlayerRequestClass( playerid )
{
    if( IsPlayerNPC( playerid ) ) return 1;
    // And your usual code...
}
Reply
#8

i resolved that but now the npc stoped in vehicle....
NPC enter in vehicle and don't start the rute!
NPC stoped in vehicle!

understand? please help me!!!!

sorry again for my english!
Reply
#9

the npc is not the driver how cand i put him to drive?
Reply
#10

dont double post
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)