Skip to content

Commit

Permalink
Merge pull request #13 from Daniel-Cortez/master
Browse files Browse the repository at this point in the history
fix the order of parameters in atan2()
  • Loading branch information
Southclaws authored Oct 4, 2018
2 parents 84bf0a2 + 5af0bc3 commit 6eefa92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions a_samp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,12 @@ native Float:acos(Float:value);
native Float:atan(Float:value);

/// <summary>Get the multi-valued inversed value of a tangent in radians.</summary>
/// <param name="x">x size</param>
/// <param name="y">y size</param>
/// <param name="x">x size</param>
/// <seealso name="atan"/>
/// <seealso name="floattan"/>
/// <returns>The angle in radians.</returns>
native Float:atan2(Float:x, Float:y);
native Float:atan2(Float:y, Float:x);


/// <summary>Gets the highest playerid currently in use on the server.</summary>
Expand Down

0 comments on commit 6eefa92

Please sign in to comment.