NPC problem . (+1rep)
#1

Hello..

today I have made ​​a npc script, which became the Problem of the 0admin system he have register and login .. so how to make my npc do not suck register and login and continue to enter..I'm tired of looking for solutions in 0admin script .. but can not find ..

thanks..

sorry for bad english .
Reply
#2

Try to put:
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
under OnPlayerConnect.

Example:
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    //Your code here
}
hope it works
Reply
#3

i have fix the problem with myself ,tq for giving idea.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)