Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

JS-скрипт Team based gloves v3 crack[req]

ну если не сложно так реализуй
JavaScript:
Expand Collapse Copy
UI.AddCheckbox("Team based gloves")
UI.AddDropdown('CT gloves model', ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);
UI.AddDropdown('T gloves model', ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);

function gloves_model(){
    if(Cheat.FrameStage() != 2)
        return
    var team = Entity.GetProp(Entity.GetLocalPlayer(),"DT_BaseEntity", "m_iTeamNum")
    if(!UI.GetValue("Script Items", "Team based gloves")){
        UI.SetEnabled("Script Items", "CT gloves model", false)
        UI.SetEnabled("Script Items", "T gloves model", false)
        return;
    }
    UI.SetEnabled("Script Items", "T gloves model", true)
    UI.SetEnabled("Script Items", "CT gloves model", true)
    if(team == 2){ // T
        UI.SetValue("Misc", "SKINS", "Gloves", "Glove model", UI.GetValue("Script Items", "T gloves model"))
    }
    else if(team == 3){ // CT
        UI.SetValue("Misc", "SKINS", "Gloves", "Glove model", UI.GetValue("Script Items", "CT gloves model"))
    }
}
Cheat.RegisterCallback("FrameStageNotify","gloves_model");
это было капец как сложно. Пентагон взломать легче
 
JavaScript:
Expand Collapse Copy
UI.AddCheckbox("Team based gloves")
UI.AddDropdown('CT gloves model', ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);
UI.AddDropdown('T gloves model', ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);

function gloves_model(){
    if(Cheat.FrameStage() != 2)
        return
    var team = Entity.GetProp(Entity.GetLocalPlayer(),"DT_BaseEntity", "m_iTeamNum")
    if(!UI.GetValue("Script Items", "Team based gloves")){
        UI.SetEnabled("Script Items", "CT gloves model", false)
        UI.SetEnabled("Script Items", "T gloves model", false)
        return;
    }
    UI.SetEnabled("Script Items", "T gloves model", true)
    UI.SetEnabled("Script Items", "CT gloves model", true)
    if(team == 2){ // T
        UI.SetValue("Misc", "SKINS", "Gloves", "Glove model", UI.GetValue("Script Items", "T gloves model"))
    }
    else if(team == 3){ // CT
        UI.SetValue("Misc", "SKINS", "Gloves", "Glove model", UI.GetValue("Script Items", "CT gloves model"))
    }
}
Cheat.RegisterCallback("FrameStageNotify","gloves_model");
это было капец как сложно. Пентагон взломать легче
спс
 
Назад
Сверху Снизу