16.10.2009, 03:15
You could change the variable that signifies a player logged in for the NPC, for example
pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid))
{
pLoggedIn[playerid]=1;
return 1;
}
//the rest of your code.
}