From 6cd1915d5f7614009d0a9c15376b3b900024d18e Mon Sep 17 00:00:00 2001 From: rubin Date: Mon, 23 Jan 2023 20:39:33 +0300 Subject: [PATCH] added 3dtext in utf8 module --- TruckHUD.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TruckHUD.lua b/TruckHUD.lua index b631552..dcc1de4 100644 --- a/TruckHUD.lua +++ b/TruckHUD.lua @@ -2789,6 +2789,7 @@ function loadEvents() utf8_function({ { "sampev", "onShowDialog" }, { "sampev", "onServerMessage" }, + { "sampev", "onCreate3DText" } }, AnsiToUtf8, AnsiToUtf8) end function isTruck3dTextDefined(id) @@ -4618,7 +4619,10 @@ utf8_function({ { "print" }, { "renderGetFontDrawTextLength" }, { "renderFontDrawText" }, - { "sampSetCurrentDialogEditboxText" } + { "sampSetCurrentDialogEditboxText" }, + { "sampCreate3dTextEx" }, + { "sampSet3dTextString" }, + { "sampCreate3dText" } }, Utf8ToAnsi, AnsiToUtf8) utf8_function({ { "sampGetDialogCaption" },