Hey, just out of interest, is there a way to hide an npc's or human (npc)'s model? a.k.a invisibility? Thanks
$player is the viewer to hide from, $other is the invisible player. For entities, $entity->despawnFrom($player).
Sometimes you should use the API instead, because API functions ensure you are always compatible and that it is the latest version of PocketMine.