Skip to content

Commit 1ab08f4

Browse files
authored
Merge pull request #21 from omcho420/master
fixed some spacing
2 parents c7ab293 + 0968d2d commit 1ab08f4

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

a_players.inc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ native GetPlayerPos(playerid, &Float:x, &Float:y, &Float:z);
182182
/// <b><c>1</c></b>: The function executed successfully.<p/>
183183
/// <b><c>0</c></b>: The function failed to execute. The player specified does not exist.
184184
/// </returns>
185-
native SetPlayerFacingAngle(playerid,Float:ang);
185+
native SetPlayerFacingAngle(playerid, Float:ang);
186186

187187
/// <summary>Gets the angle a player is facing.</summary>
188188
/// <param name="playerid">The player you want to get the angle of</param>
@@ -191,7 +191,7 @@ native SetPlayerFacingAngle(playerid,Float:ang);
191191
/// <seealso name="SetPlayerFacingAngle"/>
192192
/// <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>
193193
/// <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-
native GetPlayerFacingAngle(playerid,&Float:ang);
194+
native GetPlayerFacingAngle(playerid, &Float:ang);
195195

196196
/// <summary>Checks if a player is in range of a point. This native function is faster than the PAWN implementation using distance formula.</summary>
197197
/// <param name="playerid">The ID of the player</param>
@@ -243,7 +243,7 @@ native IsPlayerStreamedIn(playerid, forplayerid);
243243
/// <b><c>1</c></b>: The function executed successfully.<p/>
244244
/// <b><c>0</c></b>: The function failed to execute. This means the player is not connected.
245245
/// </returns>
246-
native SetPlayerInterior(playerid,interiorid);
246+
native SetPlayerInterior(playerid, interiorid);
247247

248248
/// <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>
249249
/// <param name="playerid">The player to get the interior ID of</param>
@@ -404,7 +404,7 @@ native GetPlayerTeam(playerid);
404404
/// <b><c>1</c></b>: The function executed successfully.<p/>
405405
/// <b><c>0</c></b>: The function failed to execute. This means the player specified does not exist.
406406
/// </returns>
407-
native SetPlayerScore(playerid,score);
407+
native SetPlayerScore(playerid, score);
408408

409409
/// <summary>This function returns a player's score as it was set using <a href="#SetPlayerScore">SetPlayerScore</a>.</summary>
410410
/// <param name="playerid">The player to get the score of</param>
@@ -448,7 +448,7 @@ native SetPlayerDrunkLevel(playerid, level);
448448
/// <seealso name="ChangeVehicleColor"/>
449449
/// <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>
450450
/// <remarks>If used under <a href="#OnPlayerConnect">OnPlayerConnect</a>, the affecting player will not see the color in the TAB menu. </remarks>
451-
native SetPlayerColor(playerid,color);
451+
native SetPlayerColor(playerid, color);
452452

453453
/// <summary>Gets the color of the player's name and radar marker. Only works after <a href="#SetPlayerColor">SetPlayerColor</a>.</summary>
454454
/// <param name="playerid">The ID of the player to get the color of</param>
@@ -541,7 +541,7 @@ native GetPlayerWeaponData(playerid, slot, &weapons, &ammo);
541541
/// <b><c>1</c></b>: The function executed successfully.<p/>
542542
/// <b><c>0</c></b>: The function failed to execute. This means the player is not connected.
543543
/// </returns>
544-
native GivePlayerMoney(playerid,money);
544+
native GivePlayerMoney(playerid, money);
545545

546546
/// <summary>Reset a player's money to $0.</summary>
547547
/// <param name="playerid">The ID of the player to reset the money of</param>
@@ -1862,7 +1862,7 @@ native GetPlayerSpecialAction(playerid);
18621862
/// <b><c>1</c></b>: The function executed successfully.<p/>
18631863
/// <b><c>0</c></b>: The function failed to execute. This means the player is not connected.
18641864
/// </returns>
1865-
native SetPlayerSpecialAction(playerid,actionid);
1865+
native SetPlayerSpecialAction(playerid, actionid);
18661866

18671867
/// <summary>Disables collisions between occupied vehicles for a player.</summary>
18681868
/// <param name="playerid">The ID of the player for whom you want to disable collisions</param>
@@ -1963,7 +1963,7 @@ native DisablePlayerRaceCheckpoint(playerid);
19631963
/// <remarks>This function does not work if used in <a href="#OnPlayerConnect">OnPlayerConnect</a></remarks>
19641964
/// <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>
19651965
/// <remarks>This function doesn't work in interiors!</remarks>
1966-
native SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
1966+
native SetPlayerWorldBounds(playerid, Float:x_max,Float:x_min,Float:y_max,Float:y_min);
19671967

19681968
/// <summary>Change the colour of a player's <b>nametag</b> and <b>radar blip</b> for another player.</summary>
19691969
/// <param name="playerid">The player that will see the player's changed blip/nametag color</param>
@@ -2048,7 +2048,7 @@ native AllowPlayerTeleport(playerid, allow);
20482048
/// <b><c>1</c></b>: The function executed successfully.<p/>
20492049
/// <b><c>0</c></b>: The function failed to execute. The player specified doesn't exist.
20502050
/// </returns>
2051-
native SetPlayerCameraPos(playerid,Float:x, Float:y, Float:z);
2051+
native SetPlayerCameraPos(playerid, Float:x, Float:y, Float:z);
20522052

20532053
/// <summary>Set the direction a player's camera looks at. Generally meant to be used in combination with <a href="#SetPlayerCameraPos">SetPlayerCameraPos</a>.</summary>
20542054
/// <param name="playerid">The ID of the player whose camera to set</param>

a_samp.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ native SendDeathMessageToPlayer(playerid, killer, killee, weapon);
465465
/// <seealso name="GameTextForPlayer"/>
466466
/// <seealso name="TextDrawShowForAll"/>
467467
/// <returns>This function always returns <b><c>1</c></b>.</returns>
468-
native GameTextForAll(const string[],time,style);
468+
native GameTextForAll(const string[], time, style);
469469

470470
/// <summary>Shows 'game text' (on-screen text) for a certain length of time for a specific player.</summary>
471471
/// <param name="playerid">The ID of the player to show the gametext for</param>
@@ -478,7 +478,7 @@ native GameTextForAll(const string[],time,style);
478478
/// <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/>
479479
/// <b><c>0</c></b>: The function failed to execute. This means either the string is null or the player is not connected.
480480
/// </returns>
481-
native GameTextForPlayer(playerid,const string[],time,style);
481+
native GameTextForPlayer(playerid, const string[], time, style);
482482

483483
/// <summary>Sets a 'timer' to call a function after some time. Can be set to repeat.</summary>
484484
/// <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>

a_vehicles.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ native SetVehicleZAngle(vehicleid, Float:z_angle);
206206
/// <b><c>1</c></b>: The function executed successfully.<p/>
207207
/// <b><c>0</c></b>: The function failed to execute. The player and/or vehicle specified do not exist.
208208
/// </returns>
209-
native SetVehicleParamsForPlayer(vehicleid,playerid,objective,doorslocked);
209+
native SetVehicleParamsForPlayer(vehicleid, playerid, objective, doorslocked);
210210

211211
/// <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>
212212
/// <seealso name="SetVehicleParamsEx"/>

0 commit comments

Comments
 (0)