Skip to content

Commit

Permalink
fix the order of parameters in atan2()
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Cortez committed Oct 4, 2018
1 parent 84bf0a2 commit 5af0bc3
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 5af0bc3

Please sign in to comment.