Hello, I would like to do jump a player but I don't find function in pmmp. How do that please ? thank's you in advance
I m not sure about m'y code but i think you can use this methode PHP: setMotion(); such ass for exemple PHP: $player->setMotion(new Vector3($motionX, $motionY, $motionZ));
@kenygamer @PotatoeTheDev @Muqsit I already found it but it does not work for me.I think the package I used does not match (PlayerActionPacket::ACTION_JUMP)
I did not say something about your grammar or generaly your english. I said that this user is post farming. I know that most of the typographic errors we do are due to auto correct. Just think that you were watching p0rn and you wrote ass and the auto correct added that word in the word directory.
PHP: $player->jump();$player->updateMovement(); If that doesn't work, replace $player->updateMovement() with PHP: $player->setMotion($player->motionX, $player->motionY, $player->motionZ);