Jump to content

Hitting an object


AMARANT

Recommended Posts

  • Moderators

There are some possibility's, but they aren't just one function.

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

This means you can pick some positions of the human body.

https://wiki.multitheftauto.com/wiki/ProcessLineOfSight

processLineOfSight(startX,startY,startZ,endX,endY,endZ,true,true,true,true,true,false,false,false,ignorePlayer)) 

IgnorePlayer must be you,

https://wiki.multitheftauto.com/wiki/OnClientRender

Use onClientRender to check those data.

This is a possibility, good luck.

Link to comment

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...