diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 3790348..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "addons/sourcemod/translations/modules"] - path = addons/sourcemod/translations/modules - url = git@github.com:VIP-Modules/Translations.git diff --git a/addons/sourcemod/scripting/VIP_Core.sp b/addons/sourcemod/scripting/VIP_Core.sp index 1ea5e3f..e205481 100644 --- a/addons/sourcemod/scripting/VIP_Core.sp +++ b/addons/sourcemod/scripting/VIP_Core.sp @@ -6,7 +6,10 @@ #include #include -#define VIP_VERSION "3.0.1 R" +#if !defined VIP_VERSION +#define VIP_VERSION "3.0.2 R" +#endif + #define DEBUG_MODE 0 // Режим отладки @@ -14,11 +17,6 @@ #define USE_MORE_SERVERS 1 // Включить/Отключить режим при котором если ID сервера у игрока 0 - то VIP будет работать на всех серверах -#define CHARSET "utf8mb4" -#define COLLATION "utf8mb4_unicode_ci" - -//#define CHARSET "utf8" -//#define COLLATION "utf8_unicode_ci" #if USE_ADMINMENU 1 #undef REQUIRE_PLUGIN @@ -31,7 +29,7 @@ public Plugin myinfo = name = "[VIP] Core", author = "R1KO", version = VIP_VERSION, - url = "http://hlmod.ru" + url = "https://github.com/R1KO/VIP-Core" }; #include "vip/Global.sp" diff --git a/addons/sourcemod/scripting/vip/Database.sp b/addons/sourcemod/scripting/vip/Database.sp index a0957e2..344a092 100644 --- a/addons/sourcemod/scripting/vip/Database.sp +++ b/addons/sourcemod/scripting/vip/Database.sp @@ -1,3 +1,9 @@ +#define CHARSET "utf8mb4" +#define COLLATION "utf8mb4_unicode_ci" + +//#define CHARSET "utf8" +//#define COLLATION "utf8_unicode_ci" + void DB_OnPluginStart() { DB_Connect(); diff --git a/addons/sourcemod/translations/modules b/addons/sourcemod/translations/modules deleted file mode 160000 index 8e1799d..0000000 --- a/addons/sourcemod/translations/modules +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8e1799d1c0c4d70f4f05ad4230ebc178a7beb9a7