Ищу скрипт WASD Indicator JS

Начинающий
Статус
Оффлайн
Регистрация
31 Дек 2020
Сообщения
298
Реакции[?]
14
Поинты[?]
3K
Парни, дайте пожалуйста эту JS чтоб рендерило индикаторы WASD когда на их нажимаешь. (только для кряка в3).
И еще, если не сложно то под хайд :3. Спасибо за понимание.
 
life is cheap, death is free!
Эксперт
Статус
Оффлайн
Регистрация
9 Дек 2019
Сообщения
1,603
Реакции[?]
517
Поинты[?]
2K
JavaScript:
//ukrainian niggers

function indicator()
{
    // W Indicator
    if(Input.IsKeyPressed(0x57)) {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 415, 3, "W", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 415, 3, "W", [ 255, 255, 255, 255 ] );
    }
    // A Indicator
    if(Input.IsKeyPressed(0x41)) {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 28.5, 460, 3, "A", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 28, 460, 3, "A", [ 255, 255, 255, 255 ] );
    }
    // S Indicator
    if(Input.IsKeyPressed(0x53)) {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 460, 3, "S", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 460, 3, "S", [ 255, 255, 255, 255 ] );
    }
    // D Indicator
    if(Input.IsKeyPressed(0x44)) {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 117, 460, 3, "D", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 117, 460, 3, "D", [ 255, 255, 255, 255 ] );
    }
    // Space Indicator
    if(Input.IsKeyPressed(0x20)) {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 505, 3, "Space", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 505, 3, "Space", [ 255, 255, 255, 255 ] );
    }
    // Shift Indicator
    if(Input.IsKeyPressed(0x10)) {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 550, 3, "Shift", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 550, 3, "Shift", [ 255, 255, 255, 255 ] );
    }
}

Cheat.RegisterCallback("Draw", "indicator")
 
Новичок
Статус
Оффлайн
Регистрация
16 Фев 2021
Сообщения
3
Реакции[?]
0
Поинты[?]
0
А для CTRL есть?
JavaScript:
//ukrainian niggers

function indicator()
{
    // W Indicator
    if(Input.IsKeyPressed(0x57)) {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 415, 3, "W", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 415, 3, "W", [ 255, 255, 255, 255 ] );
    }
    // A Indicator
    if(Input.IsKeyPressed(0x41)) {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 28.5, 460, 3, "A", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 28, 460, 3, "A", [ 255, 255, 255, 255 ] );
    }
    // S Indicator
    if(Input.IsKeyPressed(0x53)) {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 460, 3, "S", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 460, 3, "S", [ 255, 255, 255, 255 ] );
    }
    // D Indicator
    if(Input.IsKeyPressed(0x44)) {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 117, 460, 3, "D", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 117, 460, 3, "D", [ 255, 255, 255, 255 ] );
    }
    // Space Indicator
    if(Input.IsKeyPressed(0x20)) {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 505, 3, "Space", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 505, 3, "Space", [ 255, 255, 255, 255 ] );
    }
    // Shift Indicator
    if(Input.IsKeyPressed(0x10)) {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 550, 3, "Shift", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 550, 3, "Shift", [ 255, 255, 255, 255 ] );
    }
}

Cheat.RegisterCallback("Draw", "indicator")
А для ctrl есть Input.IsKeyPressed ?
 
Эксперт
Статус
Оффлайн
Регистрация
14 Ноя 2020
Сообщения
1,800
Реакции[?]
586
Поинты[?]
2K
JavaScript:
//ukrainian niggers

function indicator()
{
    // W Indicator
    if(Input.IsKeyPressed(0x57)) {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 415, 3, "W", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 400, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 415, 3, "W", [ 255, 255, 255, 255 ] );
    }
    // A Indicator
    if(Input.IsKeyPressed(0x41)) {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 28.5, 460, 3, "A", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 28, 460, 3, "A", [ 255, 255, 255, 255 ] );
    }
    // S Indicator
    if(Input.IsKeyPressed(0x53)) {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 73, 460, 3, "S", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 50, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 73, 460, 3, "S", [ 255, 255, 255, 255 ] );
    }
    // D Indicator
    if(Input.IsKeyPressed(0x44)) {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 83 ] );
        Render.String( 117, 460, 3, "D", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 95, 445, 45, 45, [ 229, 229, 229, 68 ] );
        Render.String( 117, 460, 3, "D", [ 255, 255, 255, 255 ] );
    }
    // Space Indicator
    if(Input.IsKeyPressed(0x20)) {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 505, 3, "Space", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 490, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 505, 3, "Space", [ 255, 255, 255, 255 ] );
    }
    // Shift Indicator
    if(Input.IsKeyPressed(0x10)) {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 83 ] );
        Render.String( 70, 550, 3, "Shift", [ 215, 129, 161, 255 ] );
    } else {
        Render.FilledRect( 5, 535, 135, 45, [ 229, 229, 229, 68 ] );
        Render.String( 70, 550, 3, "Shift", [ 255, 255, 255, 255 ] );
    }
}

Cheat.RegisterCallback("Draw", "indicator")
скринсайз нельзя?
 
life is cheap, death is free!
Эксперт
Статус
Оффлайн
Регистрация
9 Дек 2019
Сообщения
1,603
Реакции[?]
517
Поинты[?]
2K
Сверху Снизу