public OnPlayerConnect(playerid){ if (IsPlayerNPC(playerid)) { return 1; else {The content here, etc...