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" },