Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

Take the angle of a position

I would like to know how I get the angle of an X, Y,?Z coordinate, To use for example in the function SetPlayerFacingAngle

ID
d6ouivnilegovhg7bo3g
author
marllun's avatar

Marllun

@marllun


View profile
Copy link
  Report member
started
Feb 26, 2021
replies
0
participating
No

scroll to top

powered by storyden

Login
Discussion
Pawn Scripting
Take the angle of a position
marllun's avatar

Marllun

@marllun


View profile
Copy link
  Report member
• 5y
Pawn Scripting

Take the angle of a position

pawn

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;
}

0 likes0 replies

    Please sign up or log in to reply