Привет! Можно скриптом отключить. Скачать и перенести в папку Moonloder.
arg = false
function main()
repeat wait(0) until isSampAvailable()
while true do wait(0)
arg = sampIsChatInputarg()
if arg and isKeyJustPressed(0x54) and not sampIsDialogarg() and not sampIsScoreboardOpen() and not isSampfuncsConsolearg() then
sampSetChatInputEnabled(false)
end
end
end
[ML] (error) noTchat.lua: ...mes\Samp-Rp.Ru Launcher\game\samp\moonloader\noTchat.lua:5: attempt to call global 'sampIsChatInputarg' (a nil value)
stack traceback:
...mes\Samp-Rp.Ru Launcher\game\samp\moonloader\noTchat.lua: in function <...mes\Samp-Rp.Ru Launcher\game\samp\moonloader\noTchat.lua:2>
[ML] (error) noTchat.lua: Script died due to an error. (41D79E74)
local vkeys = require 'vkeys'
function onWindowMessage(msg, wparam, lparam)
if msg == 0x0100 or msg == 0x0104 then
if isSampAvailable() and (sampIsDialogActive() or sampIsChatInputActive()) then
if wparam == vkeys.VK_T then
consumeWindowMessage()
end
end
end
end
Тогда сейчас попробую переустановить полностью. Может я чего-то наделал.У меня такой проблемы нет ¯\_(ツ)_/¯
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
; Скрипт работает ТОЛЬКО когда активно окно игры
#IfWinActive GTA:SA:MP
*$t::
; Определяем регистр (Shift/Caps)
isUpper := GetKeyState("Shift", "P") ^ GetKeyState("CapsLock", "T")
; Определяем язык
ThreadID := DllCall("GetWindowThreadProcessId", "Ptr", WinExist("A"), "Ptr", 0)
LangID := DllCall("GetKeyboardLayout", "UInt", ThreadID, "Ptr") & 0xFFFF
if (LangID = 0x0409) { ; English
Send % isUpper ? "{U+0054}" : "{U+0074}"
}
else if (LangID = 0x0419 or LangID = 0x0422) { ; Russian/Ukrainian
Send % isUpper ? "{U+0415}" : "{U+0435}"
}
else {
Send {Blind}{Text}t
}
return
#IfWinActive