Skip to content

Commit

Permalink
SAMP_CONST_CORRECT define.
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Less committed Oct 3, 2018
1 parent 81315ed commit acae069
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions a_actor.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_actor
#define _actor_included

#define SAMP_CONST_CORRECT

/// <summary>Create a static 'actor' in the world. These 'actors' are like NPCs, however they have limited functionality. They do not take up server player slots.</summary>
/// <param name="modelid">The model ID (skin ID) the actor should have</param>
/// <param name="X">The X coordinate to create the actor at</param>
Expand Down
2 changes: 2 additions & 0 deletions a_http.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#endif
#define _INC_a_http

#define SAMP_CONST_CORRECT

// HTTP requests
#define HTTP_GET 1
#define HTTP_POST 2
Expand Down
2 changes: 2 additions & 0 deletions a_npc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_npc
#define _samp_included

#define SAMP_CONST_CORRECT

#pragma tabsize 4

#include <core>
Expand Down
2 changes: 2 additions & 0 deletions a_objects.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_objects
#define _objects_included

#define SAMP_CONST_CORRECT

// Objects

/// <summary>Creates an object at specified coordinates in the game world.</summary>
Expand Down
2 changes: 2 additions & 0 deletions a_players.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_players
#define _players_included

#define SAMP_CONST_CORRECT

#define SPECIAL_ACTION_NONE 0
#define SPECIAL_ACTION_DUCK 1
#define SPECIAL_ACTION_USEJETPACK 2
Expand Down
2 changes: 2 additions & 0 deletions a_samp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_samp
#define _samp_included

#define SAMP_CONST_CORRECT

#pragma tabsize 4
// Ignores warning 217 for properly indented PAWNO code
// It's tab size is 4 and often uses 4 spaces instead, PAWNCC's is 8
Expand Down
2 changes: 2 additions & 0 deletions a_sampdb.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#define _INC_a_sampdb
#define _sampdb_included

#define SAMP_CONST_CORRECT

/// <summary>This function is used to open a connection to a SQLite database, which is inside the <b><c>/scriptfiles</c></b> folder.</summary>
/// <param name="name">File name of the database</param>
/// <remarks>Return type for this function has changed since version <b>0.3.7 R2</b>.</remarks>
Expand Down
2 changes: 2 additions & 0 deletions a_vehicles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#define _INC_a_vehicles
#define _vehicles_included

#define SAMP_CONST_CORRECT

#define CARMODTYPE_SPOILER 0
#define CARMODTYPE_HOOD 1
#define CARMODTYPE_ROOF 2
Expand Down

0 comments on commit acae069

Please sign in to comment.