Skip to content

Commit 6eefa92

Browse files
authored
Merge pull request #13 from Daniel-Cortez/master
fix the order of parameters in atan2()
2 parents 84bf0a2 + 5af0bc3 commit 6eefa92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

a_samp.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ native Float:acos(Float:value);
338338
native Float:atan(Float:value);
339339

340340
/// <summary>Get the multi-valued inversed value of a tangent in radians.</summary>
341-
/// <param name="x">x size</param>
342341
/// <param name="y">y size</param>
342+
/// <param name="x">x size</param>
343343
/// <seealso name="atan"/>
344344
/// <seealso name="floattan"/>
345345
/// <returns>The angle in radians.</returns>
346-
native Float:atan2(Float:x, Float:y);
346+
native Float:atan2(Float:y, Float:x);
347347

348348

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

0 commit comments

Comments
 (0)