if isKeyJustPressed(88) and not sampIsChatInputActive() and not sampIsDialogActive() then
Как в этой строке установить свою кнопку нажатия? По типу K или L
if isKeyJustPressed(VK_(буква)) and not sampIsChatInputActive() and not sampIsDialogActive() then
Примеры:
if isKeyJustPressed(VK_K) and not sampIsChatInputActive() and not sampIsDialogActive() then
if isKeyJustPressed(VK_L) and not sampIsChatInputActive() and not sampIsDialogActive() then
Не все клавиши так можно использовать, поэтому даю тебе сайт:
В следующей таблице приведены имена констант (VK Codes), десятичные и шестнадцатеричные значения для кодов виртуальных клавиш, используемых в системах Windows.
snipp.ru
(DEC - номер клавиши, Константа - константа vkeys)