Jump to content

dxDrawLine3D


Drakath

Recommended Posts

I am making a laser script but I have a problem. Everything works fine except that the end of line doesn't go where it suppose to go.

I used

getPedTargetCollision 

to retrieve the coordinates of endX, endY, endZ.

But this is what happened:

2eo8qhw.jpg

Does anyone know a function that could retrieve the coordinates which would point the laser where the weapon muzzle is pointing ?

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