Hi, guys! How to force player to be in fly-state right after teleportation? My player in creative mode and tp destination point is in the air I want that player will hang in the air, but now he is just falling down PHP: $player->setGamemode(1);$player->setAllowFlight(true);$player->teleport($pos, $yawn); Please help!
Yep, That was my first approach. I patched a server by adding "barrier" block (id 95). And that somehow works. I would like to make player to be able "fly" above some arena. I was trying to always put "barrier" block under the player while he run, but player still often fall down (I think that happens in case of even minimal lags) And when I fill the entire arena field with barriers than I face with performance issue because of weird transparency behavior of "barriers". I want get rid of that barriers by making players fly and controlling theirs fly height