public OnPlayerConnect(playerid){ if(IsPlayerNPC(playerid)) { printf("NPC connected: id %d",playerid); } return 1;}