Gameplay::getAngleBetween2DVectors
Client-Side Function
JavaScript Syntax
Gets the angle in degrees between 2 given points
Required Params
- x1: float
- y1: float
- x2: float
- y2: float
Return value
- float
Syntax
mp.game.gameplay.getAngleBetween2DVectors(x1, y1, x2, y2);
Example
//todo