Jump to content

Check if ped is not on ground


Recommended Posts

  • Moderators
Posted (edited)

@majqq

Getting the ped height from the centre:

https://wiki.multitheftauto.com/wiki/GetElementBoundingBox

 

An alternative:

getElementPosition - https://wiki.multitheftauto.com/wiki/GetPedBonePosition

 

Edited by IIYAMA
  • Like 1

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...