It's possible drop item in a specific coordinate(with chunckloaded ) ? I have tried $level->dropItem($pos ,$item) ; with $pos (object vector3) and $ item and $item but cause crash. advice?
I'm not sure how I can help you, since I'm not that advanced, but giving the crash log (the error) will allow others to help you
"Undefined variable $pos " is the error The varriable pos is defined how vector3 and is valid i think because i have used $pos in $player->Teleport($pos) and was valid .... teleported the player
The problem is that when i do $level->dropItem($pos ,$item) in the $pos i add $player variable how is required from pocketmine the method works but drop the item from the player and not in a specific coordinates