Ok, I have this code: PHP: function onMove(PlayerMoveEvent $pm){ $pm->getPlayer()->setMotion(new Vector3($pm->getPlayer()->motionX,$pm->getPlayer()->motionY + 0.2,$pm->getPlayer()->motionZ));} Nothing is happening!
did u try it? you cant just assume it doesnt work. if it doesnt, well i got nothing. too lazy to make one...
Lol xD I will.. Maybe it doesn't work with android PMMP because its really glitchy xD (I can't get on my computer rn)
yes, you are right. we are wrong. motionX,Y&Z is just coded incorrectly thats why your code doesnt work. we get it.
function onMove(PlayerMoveEvent $pm){ $coord = new Vector3($pm->getPlayer()->motionX, $pm->getPlayer()->motionY, $pm->getPlayer()->motionZ); $coord->y = 0.2; $pm->getPlayer()->setMotion($coord); }