ChinaCxCoder Members March 28, 20205 yr Same as in Grand Theft Auto - return coords for your last bullet Must be in loop and Vector3 struct must be other typedef struct { float x; DWORD _paddingx; float y; DWORD _paddingy; float z; DWORD _paddingz; } Vector3;
DoctorBones Insiders September 2, 20204 yr (edited) Nevermind figured it out. Edited September 2, 20204 yr by DoctorBones
Waffurs Members May 20, 20231 yr Hi, new modder following Mooshe's video tutorial to make lightning tomahawk. Not sure how to call this function to get the coords as in the video he uses older scripthookdotnet api with outputargument. Why does it return bool?
Waffurs Members May 21, 20231 yr (edited) Hello! I'm trying to use this function to make a lightning strike on the given coordinates. How I assume this works is the vector3 pointer given in the parameters will be used to put the coordinate value into the vector3 variable the pointer points to. But when I then print out that vector3 value to check, I get 0 in the Y component. X and Z components are not 0. Any ideas why? Thanks Edit: I realized that the Z coordinate returned is actually the Y coordinate. So I just decided to use arthur's current Z coordinate as the Z component for the lastweapimpact vector3 lol. Edited May 21, 20231 yr by Waffurs
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.