From ffe7ddf495c4c31f4fa1cca990e2f38bfe4cf0de Mon Sep 17 00:00:00 2001 From: rubin Date: Mon, 20 Feb 2023 14:53:22 +0300 Subject: [PATCH] fix menu & bump version 20.02.2023 --- changelog | 4 +++- drugs-mats.lua | 4 +++- version | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/changelog b/changelog index f1e3d45..71393c3 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ Версия от 18.02.2023 Скрипт переведен в UTF-8 Добавлено автообновление - Исправлен баг когда скрипт юзал всего 1 грамм \ No newline at end of file + Исправлен баг когда скрипт юзал всего 1 грамм +Версия от 20.02.2023 + Исправлено неработающее меню \ No newline at end of file diff --git a/drugs-mats.lua b/drugs-mats.lua index da5dbfc..fb2634e 100755 --- a/drugs-mats.lua +++ b/drugs-mats.lua @@ -1,6 +1,6 @@ script_name('drugs-mats') script_author("Serhiy_Rubin") -script_version("18.02.2023") +script_version("20.02.2023") sampev, vkeys, inicfg = require 'lib.samp.events', require 'lib.vkeys', require 'inicfg' local check_inventory, drugs_timer, not_drugs_timer, renderText, d = 1, 0, false, {}, {} dlstatus = require("moonloader").download_status @@ -695,11 +695,13 @@ end utf8({ "sampShowDialog" }, "Utf8ToAnsi") utf8({ "sampSendChat" }, "Utf8ToAnsi") utf8({ "sampAddChatMessage" }, "Utf8ToAnsi") +utf8({ "sampAddChatMessage" }, "Utf8ToAnsi") utf8({ "print" }, "Utf8ToAnsi") utf8({ "renderGetFontDrawTextLength" }, "Utf8ToAnsi") utf8({ "renderFontDrawText" }, "Utf8ToAnsi") utf8({ "sampSetCurrentDialogEditboxText" }, "Utf8ToAnsi") utf8({ "sampHasDialogRespond" }, nil, "AnsiToUtf8") +utf8({ "sampGetDialogCaption" }, nil, "AnsiToUtf8") utf8({ "sampev", "onServerMessage" }, "AnsiToUtf8", "Utf8ToAnsi") utf8({ "sampev", "onShowDialog" }, "AnsiToUtf8", "Utf8ToAnsi") utf8({ "sampev", "onSendCommand" }, "AnsiToUtf8", "Utf8ToAnsi") \ No newline at end of file diff --git a/version b/version index cac16cd..beb6088 100644 --- a/version +++ b/version @@ -1 +1 @@ -18.02.2023 \ No newline at end of file +20.02.2023 \ No newline at end of file