2021-02-26, 03:10 PM
(This post was last modified: 2021-02-26, 03:12 PM by Marllun.)
I would like to know how I get the angle of an X, Y,?Z coordinate, To use for example in the function SetPlayerFacingAngle
Example:
stock Float:GetAnglePos(Float:x, Float:y, Float:z) {
?Code..
return angle;
}
Code:
Discord: Marllun#6297
Do you mean the angle between some point?and the position of the player?
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.
I want to make the player turn the angle to a specific position.
This function does not exist in the SAMP Native functions, please do not come with GetPlayerFacingAngle, SetCameraBehindPlayer.
Code:
Discord: Marllun#6297