public OnPlayerRequestClass(playerid, classid){ if(IsPlayerNPC(playerid)) return SpawnPlayer(playerid); // rest of your stuff}