checking ground height when using SetPlayerVelocity - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: checking ground height when using SetPlayerVelocity (
/showthread.php?tid=662596)
checking ground height when using SetPlayerVelocity -
DomnulRafael - 06.01.2019
So my questions is: how can i check the ground height when I am using SetPlayerVelocity? If I am on a cliff and use SetPlayerVelocity, the player will fly around, not dropping on the ground as it should be.
I am working on a horse system and he can ride it up but if he's trying to get down the cliff (or anything else) he will start flying.
How can I make it to not fly and to set his positions?
Re: checking ground height when using SetPlayerVelocity -
DomnulRafael - 06.01.2019
Does that work with custom mapping? Because i have a mapped city.
Re: checking ground height when using SetPlayerVelocity -
DomnulRafael - 06.01.2019
And any idea how to use it?