Gameplay::getAngleBetween2DVectors: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 April 2024

  • curprev 11:2711:27, 29 April 2024Shr0x talk contribs 577 bytes +577 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the angle in degrees between 2 given points ===Required Params=== *'''x1:''' {{RageType|float}} *'''y1:''' {{RageType|float}} *'''x2:''' {{RageType|float}} *'''y2:''' {{RageType|float}} ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getAngleBetween2DVectors(x1, y1, x2, y2); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighl..."