Drakath Posted January 10, 2014 Share Posted January 10, 2014 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: Does anyone know a function that could retrieve the coordinates which would point the laser where the weapon muzzle is pointing ? Link to comment
Moderators IIYAMA Posted January 10, 2014 Moderators Share Posted January 10, 2014 You should take a look at the stealth laser. It isn't perfect, but it gives a little result. It uses: getPedBonePosition Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now