Posts: 723
Threads: 366
Joined: Jun 2016
Hi,
I have one player position and other player position, and i want to face lazer from one player position that lazer look to other player position how to do that?
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
Can you even ******? Or use the search function? Guess how many times that (or very similar) was asked before. Hell, there are even includes that do exactly that (and more). Basic trygonometry.
Posts: 723
Threads: 366
Joined: Jun 2016
I tried with
http://forum.sa-mp.com/showthread.ph...3D#post1498305
SetObjectFaceCoords3D, but lazer go down even i shoot to sky
Posts: 723
Threads: 366
Joined: Jun 2016
I tried, 90.0, 0.0, 0.0 and it's seem worked, so i don't need implement smth else?
Posts: 723
Threads: 366
Joined: Jun 2016
But not i more tested, still not work, when i shoot down or up laser is moving just in 2d
Posts: 723
Threads: 366
Joined: Jun 2016
UP topic, i need good function that could right face laser..
Like in this video:
http://forum.sa-mp.com/showthread.ph...ighlight=laser
Posts: 723
Threads: 366
Joined: Jun 2016
So what difference where i ask help, if i ask here so please help here
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
This is scripting help. Not the scripting request section. I don't go to the Spanish Subforum to speak English.