01-12-2016, 06:54 AM
(01-12-2016, 06:12 AM)tonibm19 Wrote: For a plugin I use the AddSpeedY() function and it works (player gets up like a rocket as I want) but then the speed is the same. If a mob hits the player he's punched up a lot, just like if I run my command which uses AddSpeedY().
Any way to make it work like gravity so when the player returns on the ground it gets to normal speed? Or do i need an sheduletask or something like that to return speed back to normal.
I get the same problem with some of my plugins. I just assumed that it was due to my crappy coding.