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
/// <remarks>Angles are reversed in GTA:SA; 90 degrees would be East in the real world, but in GTA:SA 90 degrees is in fact West. North and South are still 0/360 and 180. To convert this, simply do <b>360 - angle</b>.</remarks>
193
193
/// <remarks>Angles returned when inside a vehicle is rarely correct. To get the correct facing angle while inside a vehicle, use <a href="#GetVehicleZAngle">GetVehicleZAngle</a>.</remarks>
194
-
nativeGetPlayerFacingAngle(playerid,&Float:ang);
194
+
nativeGetPlayerFacingAngle(playerid,&Float:ang);
195
195
196
196
/// <summary>Checks if a player is in range of a point. This native function is faster than the PAWN implementation using distance formula.</summary>
197
197
/// <param name="playerid">The ID of the player</param>
/// <b><c>1</c></b>: The function executed successfully.<p/>
244
244
/// <b><c>0</c></b>: The function failed to execute. This means the player is not connected.
245
245
/// </returns>
246
-
nativeSetPlayerInterior(playerid,interiorid);
246
+
nativeSetPlayerInterior(playerid,interiorid);
247
247
248
248
/// <summary>Retrieves the player's current interior. A list of currently known interiors with their positions can be found on <a href="http://wiki.sa-mp.com/wiki/InteriorIDs">this</a> page.</summary>
249
249
/// <param name="playerid">The player to get the interior ID of</param>
/// <remarks>This function will change player's color for everyone, even if player's color was changed with <a href="#SetPlayerMarkerForPlayer">SetPlayerMarkerForPlayer</a> for any other player. </remarks>
450
450
/// <remarks>If used under <a href="#OnPlayerConnect">OnPlayerConnect</a>, the affecting player will not see the color in the TAB menu. </remarks>
451
-
nativeSetPlayerColor(playerid,color);
451
+
nativeSetPlayerColor(playerid,color);
452
452
453
453
/// <summary>Gets the color of the player's name and radar marker. Only works after <a href="#SetPlayerColor">SetPlayerColor</a>.</summary>
454
454
/// <param name="playerid">The ID of the player to get the color of</param>
/// <remarks>This function does not work if used in <a href="#OnPlayerConnect">OnPlayerConnect</a></remarks>
1964
1964
/// <remarks>A player's world boundaries can be reset by setting them to <b><c>20000.0</c></b>, <b><c>-20000.0</c></b>, <b><c>20000.0</c></b>, <b><c>-20000.0</c></b>. These are the default values.</remarks>
1965
1965
/// <remarks>This function doesn't work in interiors!</remarks>
/// <summary>Set the direction a player's camera looks at. Generally meant to be used in combination with <a href="#SetPlayerCameraPos">SetPlayerCameraPos</a>.</summary>
2054
2054
/// <param name="playerid">The ID of the player whose camera to set</param>
/// <b><c>1</c></b>: The function executed successfully. Success is reported when the style and/or time is invalid. Nothing will happen though (no text displayed). May also cause game crashes.<p/>
479
479
/// <b><c>0</c></b>: The function failed to execute. This means either the string is null or the player is not connected.
/// <summary>Sets a 'timer' to call a function after some time. Can be set to repeat.</summary>
484
484
/// <param name="funcname">Name of the function to call as a string. This must be a public function (forwarded). A null string here will crash the server</param>
/// <summary>Use this function before any player connects (<a href="#OnGameModeInit">OnGameModeInit</a>) to tell all clients that the script will control vehicle engines and lights. This prevents the game automatically turning the engine on/off when players enter/exit vehicles and headlights automatically coming on when it is dark.</summary>
0 commit comments