Guest User

Untitled

a guest
Apr 21st, 2022
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. /*
  2. =============================================================================================
  3.  
  4. open.RP Role Play v0.5.5.
  5. Authors: v1rtuality, Zander Operator, cofi, Woo, B-Matt, kiddo, ShadY, hodza, Runner, Khawaja
  6. Web: https://open.mp/
  7.  
  8. =============================================================================================
  9. */
  10.  
  11. // Disable const correctness warnings on the community compiler
  12. #pragma warning disable 239
  13. #pragma warning disable 214
  14.  
  15. #include <a_samp>
  16. #include <a_http>
  17.  
  18. /*
  19.  
  20. 88888888ba 88 ad88 88
  21. 88 "8b 88 d8" ""
  22. 88 ,8P 88 88
  23. 88aaaaaa8P' 8b,dPPYba, ,adPPYba, ,adPPYb,88 ,adPPYba, MM88MMM 88 8b,dPPYba, ,adPPYba, ,adPPYba,
  24. 88""""""' 88P' "Y8 a8P_____88 a8" `Y88 a8P_____88 88 88 88P' `"8a a8P_____88 I8[ ""
  25. 88 88 8PP""""""" 8b 88 8PP""""""" 88 88 88 88 8PP""""""" `"Y8ba,
  26. 88 88 "8b, ,aa "8a, ,d88 "8b, ,aa 88 88 88 88 "8b, ,aa aa ]8I
  27. 88 88 `"Ybbd8"' `"8bbdP"Y8 `"Ybbd8"' 88 88 88 88 `"Ybbd8"' `"YbbdP"'
  28.  
  29. */
  30.  
  31. // Server Players, NPC's and Vehicle Config
  32. #define MAX_NPCS (1)
  33. #undef MAX_PLAYERS
  34. #define MAX_PLAYERS (100)
  35. #undef MAX_VEHICLES
  36. #define MAX_VEHICLES (1000)
  37.  
  38. //#define MODULE_LOGS // Player/Game Admin Command/Actions logging feature
  39.  
  40. // MySQL inline query functions
  41. #define MYSQL_USE_YINLINE true
  42.  
  43. // #define COA_UCP
  44.  
  45. // GMT Zone
  46. #define GMT_ZONE_DIFFERENCE (0)
  47.  
  48. // 0.3DL
  49. #define NEGATIVE_MODEL_ID -40000
  50.  
  51. // Server Restart Configuration
  52. #define AUTO_RESTART_SEQ // Uncomment for automatic restarts if you have restart
  53. // API on your VPS/server
  54.  
  55. // Server Afterload Unlock
  56. #define SERVER_UNLOCK_TIME (15)
  57.  
  58. // Fixes.inc
  59. #define FIXES_GetMaxPlayersMsg 0
  60. #define FIXES_ServerVarMsg 0
  61. #define FIX_OnDialogResponse 0
  62. #define FIX_GetPlayerDialog 0
  63. #define MAX_IP_CONNECTS 3
  64. #define FIX_file_inc 0
  65.  
  66. /*
  67.  
  68. 88 88 88
  69. 88 88 88
  70. 88 88 88
  71. 88 8b,dPPYba, ,adPPYba, 88 88 88 ,adPPYb,88 ,adPPYba, ,adPPYba,
  72. 88 88P' `"8a a8" "" 88 88 88 a8" `Y88 a8P_____88 I8[ ""
  73. 88 88 88 8b 88 88 88 8b 88 8PP""""""" `"Y8ba,
  74. 88 88 88 "8a, ,aa 88 "8a, ,a88 "8a, ,d88 "8b, ,aa aa ]8I
  75. 88 88 88 `"Ybbd8"' 88 `"YbbdP'Y8 `"8bbdP"Y8 `"Ybbd8"' `"YbbdP"'
  76.  
  77. */
  78.  
  79. // bcrypt encription & inline support
  80. #include <bcrypt>
  81. #define BCRYPT_COST 12
  82.  
  83. // Fixes
  84. #include <fixes>
  85.  
  86. // sscanf by Y-Less
  87. #include <sscanf2>
  88.  
  89. // New SA-MP callbacks by Emmet
  90. #include <callbacks>
  91.  
  92. // SA-MP Map Zones by kristoisberg
  93. #include <map-zones>
  94.  
  95. // Modern Pawn library for working with dates and times - TimeFormat
  96. #include <chrono>
  97.  
  98. // Aim Anti-Cheat by Yashas
  99. #include <BustAim>
  100.  
  101. // Streamer
  102. #include <streamer>
  103. #define OBJECT_STREAM_LIMIT (700)
  104.  
  105. // YSI by Y_Less
  106. #define YSI_NO_HEAP_MALLOC
  107. #define YSI_NO_MODE_CACHE
  108. #define YSI_NO_OPTIMISATION_MESSAGE
  109.  
  110. // After sampctl p ensure check: CGEN_MEMORY(needs to be 90000) and MAX_COMMANDS(needs to be 1024)
  111. #define CGEN_MEMORY (90000) // Internal Define - code parser/generator memory
  112. #define MAX_COMMANDS (1024) // Internal Define - y_commands
  113.  
  114. #include <YSI_Coding\y_hooks>
  115. #include <YSI_Coding\y_inline>
  116. #include <YSI_Coding\y_timers>
  117. #include <YSI_Coding\y_va>
  118. #include <YSI_Data\y_iterate>
  119. #include <YSI_Server\y_flooding>
  120. #include <YSI_Visual\y_commands>
  121. #include <YSI_Game\y_vehicledata>
  122.  
  123. // Other includes
  124. #include <OnPlayerSlowUpdate>
  125. #include <animsfix> // legacy
  126. #include <rBits> // legacy
  127. #include <progress2>
  128. #include <mapandreas>
  129. #include <fSelection>
  130. #include <color_menu> // legacy
  131.  
  132. #include <vSync>
  133.  
  134. // MySQL & Inline Query Callbacks/Funcs
  135. #include <a_mysql>
  136. #include <YSI_Extra\y_inline_mysql>
  137.  
  138. // SHA-1 of latest commit - GIT_REV define
  139. #include "revision.inc"
  140.  
  141. /*
  142.  
  143. 88888888ba, ad88 88
  144. 88 `"8b d8" ""
  145. 88 `8b 88
  146. 88 88 ,adPPYba, MM88MMM 88 8b,dPPYba, ,adPPYba, ,adPPYba,
  147. 88 88 a8P_____88 88 88 88P' `"8a a8P_____88 I8[ ""
  148. 88 8P 8PP""""""" 88 88 88 88 8PP""""""" `"Y8ba,
  149. 88 .a8P "8b, ,aa 88 88 88 88 "8b, ,aa aa ]8I
  150. 88888888Y"' `"Ybbd8"' 88 88 88 88 `"Ybbd8"' `"YbbdP"'
  151.  
  152. */
  153.  
  154.  
  155. /*
  156. Server Informations
  157. - When chaning SCRIPT_VERSION, you MUST upload new "Changelog.txt"
  158. in /scriptfiles in order for players to see what's new InGame
  159. */
  160.  
  161. #define SERVER_NAME "open.RP"
  162. #define HOSTNAME #SERVER_NAME"[0.3DL]"
  163. #define WEB_URL "https://open.mp/"
  164. #define SCRIPT_VERSION #SERVER_NAME" v0.5.0.-"#GIT_REV
  165.  
  166. /*
  167. The rest of the defines
  168. Main Header file - purpose is bypassing the include order
  169. Enumerator Declarations
  170. Custom Functions Declaration file - purpose is declaring custom funcs that will be hooked
  171. Global Variables that are used via Getter/Setter functions
  172. */
  173. #include <Preincludes>
  174. #include <times>
  175.  
  176. // Globally used Arrays declarations
  177. #include <Arrays>
  178.  
  179.  
  180. /*
  181.  
  182. 88b d88 88 88
  183. 888b d888 88 88
  184. 88`8b d8'88 88 88
  185. 88 `8b d8' 88 ,adPPYba, ,adPPYb,88 88 88 88 ,adPPYba, ,adPPYba,
  186. 88 `8b d8' 88 a8" "8a a8" `Y88 88 88 88 a8P_____88 I8[ ""
  187. 88 `8b d8' 88 8b d8 8b 88 88 88 88 8PP""""""" `"Y8ba,
  188. 88 `888' 88 "8a, ,a8" "8a, ,d88 "8a, ,a88 88 "8b, ,aa aa ]8I
  189. 88 `8' 88 `"YbbdP"' `"8bbdP"Y8 `"YbbdP'Y8 88 `"Ybbd8"' `"YbbdP"'
  190.  
  191. */
  192.  
  193. #include <Server>
  194. #include <Systems>
  195. #include <Admin>
  196. #include <Player>
  197. #include <Char>
  198.  
  199. //
  200. main()
  201. {
  202.  
  203. }
Advertisement
Add Comment
Please, Sign In to add comment