You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: a_npc.inc
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -108,32 +108,32 @@ native KillTimer(timerid);
108
108
/// <returns>Uptime of the actual server (not the SA-MP server).</returns>
109
109
nativeGetTickCount();
110
110
111
-
/// <summary>Get the inversed value of a sine in radians.</summary>
111
+
/// <summary>Get the inversed value of a sine in degrees.</summary>
112
112
/// <param name="value">The sine for which to find the angle for</param>
113
113
/// <seealso name="floatsin"/>
114
-
/// <returns>The angle in radians.</returns>
114
+
/// <returns>The angle in degrees.</returns>
115
115
nativeFloat:asin(Float:value);
116
116
117
-
/// <summary>Get the inversed value of a cosine in radians.</summary>
117
+
/// <summary>Get the inversed value of a cosine in degrees.</summary>
118
118
/// <param name="value">The cosine for which to find the angle for</param>
119
119
/// <seealso name="floatcos"/>
120
-
/// <returns>The angle in radians.</returns>
120
+
/// <returns>The angle in degrees.</returns>
121
121
nativeFloat:acos(Float:value);
122
122
123
-
/// <summary>Get the inversed value of a tangent in radians.</summary>
123
+
/// <summary>Get the inversed value of a tangent in degrees.</summary>
124
124
/// <param name="value">The tangent for which to find the angle for</param>
125
125
/// <seealso name="atan2"/>
126
126
/// <seealso name="floattan"/>
127
-
/// <returns>The angle in radians.</returns>
127
+
/// <returns>The angle in degrees.</returns>
128
128
nativeFloat:atan(Float:value);
129
129
130
-
/// <summary>Get the multi-valued inversed value of a tangent in radians.</summary>
131
-
/// <param name="x">x size</param>
130
+
/// <summary>Get the multi-valued inversed value of a tangent in degrees.</summary>
132
131
/// <param name="y">y size</param>
132
+
/// <param name="x">x size</param>
133
133
/// <seealso name="atan"/>
134
134
/// <seealso name="floattan"/>
135
-
/// <returns>The angle in radians.</returns>
136
-
nativeFloat:atan2(Float:x, Float:y);
135
+
/// <returns>The angle in degrees.</returns>
136
+
nativeFloat:atan2(Float:y, Float:x);
137
137
138
138
139
139
/// <summary>This will send a player text by the bot, just like using <a href="#SendPlayerMessageToAll">SendPlayerMessageToAll</a>, but this function is to be used inside the NPC scripts.</summary>
0 commit comments