Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- =============================================================================================
- open.RP Role Play v0.5.5.
- Authors: v1rtuality, Zander Operator, cofi, Woo, B-Matt, kiddo, ShadY, hodza, Runner, Khawaja
- Web: https://open.mp/
- =============================================================================================
- */
- // Disable const correctness warnings on the community compiler
- #pragma warning disable 239
- #pragma warning disable 214
- #include <a_samp>
- #include <a_http>
- /*
- 88888888ba 88 ad88 88
- 88 "8b 88 d8" ""
- 88 ,8P 88 88
- 88aaaaaa8P' 8b,dPPYba, ,adPPYba, ,adPPYb,88 ,adPPYba, MM88MMM 88 8b,dPPYba, ,adPPYba, ,adPPYba,
- 88""""""' 88P' "Y8 a8P_____88 a8" `Y88 a8P_____88 88 88 88P' `"8a a8P_____88 I8[ ""
- 88 88 8PP""""""" 8b 88 8PP""""""" 88 88 88 88 8PP""""""" `"Y8ba,
- 88 88 "8b, ,aa "8a, ,d88 "8b, ,aa 88 88 88 88 "8b, ,aa aa ]8I
- 88 88 `"Ybbd8"' `"8bbdP"Y8 `"Ybbd8"' 88 88 88 88 `"Ybbd8"' `"YbbdP"'
- */
- // Server Players, NPC's and Vehicle Config
- #define MAX_NPCS (1)
- #undef MAX_PLAYERS
- #define MAX_PLAYERS (100)
- #undef MAX_VEHICLES
- #define MAX_VEHICLES (1000)
- //#define MODULE_LOGS // Player/Game Admin Command/Actions logging feature
- // MySQL inline query functions
- #define MYSQL_USE_YINLINE true
- // #define COA_UCP
- // GMT Zone
- #define GMT_ZONE_DIFFERENCE (0)
- // 0.3DL
- #define NEGATIVE_MODEL_ID -40000
- // Server Restart Configuration
- #define AUTO_RESTART_SEQ // Uncomment for automatic restarts if you have restart
- // API on your VPS/server
- // Server Afterload Unlock
- #define SERVER_UNLOCK_TIME (15)
- // Fixes.inc
- #define FIXES_GetMaxPlayersMsg 0
- #define FIXES_ServerVarMsg 0
- #define FIX_OnDialogResponse 0
- #define FIX_GetPlayerDialog 0
- #define MAX_IP_CONNECTS 3
- #define FIX_file_inc 0
- /*
- 88 88 88
- 88 88 88
- 88 88 88
- 88 8b,dPPYba, ,adPPYba, 88 88 88 ,adPPYb,88 ,adPPYba, ,adPPYba,
- 88 88P' `"8a a8" "" 88 88 88 a8" `Y88 a8P_____88 I8[ ""
- 88 88 88 8b 88 88 88 8b 88 8PP""""""" `"Y8ba,
- 88 88 88 "8a, ,aa 88 "8a, ,a88 "8a, ,d88 "8b, ,aa aa ]8I
- 88 88 88 `"Ybbd8"' 88 `"YbbdP'Y8 `"8bbdP"Y8 `"Ybbd8"' `"YbbdP"'
- */
- // bcrypt encription & inline support
- #include <bcrypt>
- #define BCRYPT_COST 12
- // Fixes
- #include <fixes>
- // sscanf by Y-Less
- #include <sscanf2>
- // New SA-MP callbacks by Emmet
- #include <callbacks>
- // SA-MP Map Zones by kristoisberg
- #include <map-zones>
- // Modern Pawn library for working with dates and times - TimeFormat
- #include <chrono>
- // Aim Anti-Cheat by Yashas
- #include <BustAim>
- // Streamer
- #include <streamer>
- #define OBJECT_STREAM_LIMIT (700)
- // YSI by Y_Less
- #define YSI_NO_HEAP_MALLOC
- #define YSI_NO_MODE_CACHE
- #define YSI_NO_OPTIMISATION_MESSAGE
- // After sampctl p ensure check: CGEN_MEMORY(needs to be 90000) and MAX_COMMANDS(needs to be 1024)
- #define CGEN_MEMORY (90000) // Internal Define - code parser/generator memory
- #define MAX_COMMANDS (1024) // Internal Define - y_commands
- #include <YSI_Coding\y_hooks>
- #include <YSI_Coding\y_inline>
- #include <YSI_Coding\y_timers>
- #include <YSI_Coding\y_va>
- #include <YSI_Data\y_iterate>
- #include <YSI_Server\y_flooding>
- #include <YSI_Visual\y_commands>
- #include <YSI_Game\y_vehicledata>
- // Other includes
- #include <OnPlayerSlowUpdate>
- #include <animsfix> // legacy
- #include <rBits> // legacy
- #include <progress2>
- #include <mapandreas>
- #include <fSelection>
- #include <color_menu> // legacy
- #include <vSync>
- // MySQL & Inline Query Callbacks/Funcs
- #include <a_mysql>
- #include <YSI_Extra\y_inline_mysql>
- // SHA-1 of latest commit - GIT_REV define
- #include "revision.inc"
- /*
- 88888888ba, ad88 88
- 88 `"8b d8" ""
- 88 `8b 88
- 88 88 ,adPPYba, MM88MMM 88 8b,dPPYba, ,adPPYba, ,adPPYba,
- 88 88 a8P_____88 88 88 88P' `"8a a8P_____88 I8[ ""
- 88 8P 8PP""""""" 88 88 88 88 8PP""""""" `"Y8ba,
- 88 .a8P "8b, ,aa 88 88 88 88 "8b, ,aa aa ]8I
- 88888888Y"' `"Ybbd8"' 88 88 88 88 `"Ybbd8"' `"YbbdP"'
- */
- /*
- Server Informations
- - When chaning SCRIPT_VERSION, you MUST upload new "Changelog.txt"
- in /scriptfiles in order for players to see what's new InGame
- */
- #define SERVER_NAME "open.RP"
- #define HOSTNAME #SERVER_NAME"[0.3DL]"
- #define WEB_URL "https://open.mp/"
- #define SCRIPT_VERSION #SERVER_NAME" v0.5.0.-"#GIT_REV
- /*
- The rest of the defines
- Main Header file - purpose is bypassing the include order
- Enumerator Declarations
- Custom Functions Declaration file - purpose is declaring custom funcs that will be hooked
- Global Variables that are used via Getter/Setter functions
- */
- #include <Preincludes>
- #include <times>
- // Globally used Arrays declarations
- #include <Arrays>
- /*
- 88b d88 88 88
- 888b d888 88 88
- 88`8b d8'88 88 88
- 88 `8b d8' 88 ,adPPYba, ,adPPYb,88 88 88 88 ,adPPYba, ,adPPYba,
- 88 `8b d8' 88 a8" "8a a8" `Y88 88 88 88 a8P_____88 I8[ ""
- 88 `8b d8' 88 8b d8 8b 88 88 88 88 8PP""""""" `"Y8ba,
- 88 `888' 88 "8a, ,a8" "8a, ,d88 "8a, ,a88 88 "8b, ,aa aa ]8I
- 88 `8' 88 `"YbbdP"' `"8bbdP"Y8 `"YbbdP'Y8 88 `"Ybbd8"' `"YbbdP"'
- */
- #include <Server>
- #include <Systems>
- #include <Admin>
- #include <Player>
- #include <Char>
- //
- main()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment