пути дайОчень нужно, кто сделает или найдет - спасибо
Miscпути дай
Misc
Skins
Models
Glove model
(если ты про эти пути)
const def = UI.GetValue(["Misc.", "Skins", "Models", "Glove model"]);
UI.AddSubTab(["Misc.", "SUBTAB_MGR"], "Team based gloves");
UI.AddDropdown(["Misc.", "Team based gloves"], "CT gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);
UI.SetValue(["misc.", "Team based gloves", "CT gloves model"], def);
UI.AddDropdown(["Misc.", "Team based gloves"], "T gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']);
UI.SetValue(["misc.", "Team based gloves", "T gloves model"], def);
function main()
{
const localTeam = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_iTeamNum");
var currentGloves;
if (localTeam == 2) { //Probably T xd
currentGloves = UI.GetValue(["Misc.", "Team based gloves", "T gloves model"]);
}
if (localTeam == 3) { //But this CT, i know =]
currentGloves = UI.GetValue(["Misc.", "Team based gloves", "CT gloves model"]);
}
UI.SetValue(["Misc.", "Skins", "Models", "Glove model"], currentGloves);
}
Cheat.RegisterCallback("Draw", "main")
function unload()
{
UI.SetValue(["Misc.", "Skins", "Models", "Glove model"], def);
}
Cheat.RegisterCallback("unload", "Unload")
ЧОJavaScript:const def = UI.GetValue(["Misc.", "Skins", "Models", "Glove model"]); UI.AddSubTab(["Misc.", "SUBTAB_MGR"], "Team based gloves"); UI.AddDropdown(["Misc.", "Team based gloves"], "CT gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']); UI.SetValue(["misc.", "Team based gloves", "CT gloves model"], def); UI.AddDropdown(["Misc.", "Team based gloves"], "T gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']); UI.SetValue(["misc.", "Team based gloves", "T gloves model"], def); function main() { const localTeam = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_iTeamNum"); var currentGloves; if (localTeam == 2) { //Probably T xd currentGloves = UI.GetValue(["Misc.", "Team based gloves", "T gloves model"]); } if (localTeam == 3) { //But this CT, i know =] currentGloves = UI.GetValue(["Misc.", "Team based gloves", "CT gloves model"]); } UI.SetValue(["Misc.", "Skins", "Modesl", "Glove model"], currentGloves); } Cheat.RegisterCallback("Draw", "main") function unload() { UI.SetValue(["Misc.", "Skins", "Modesl", "Glove model"], def); } Cheat.RegisterCallback("unload", "Unload")
У меня руки от пива трясутся, ща пофикшу
[onetap] unable to find menu element [ misc. ]const def = UI.GetValue(["Misc.", "Skins", "Models", "Glove model"]); UI.AddSubTab(["Misc.", "SUBTAB_MGR"], "Team based gloves"); UI.AddDropdown(["Misc.", "Team based gloves"], "CT gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']); UI.SetValue(["misc.", "Team based gloves", "CT gloves model"], def); UI.AddDropdown(["Misc.", "Team based gloves"], "T gloves model", ['None', 'Bloodhound gloves', 'Sport gloves', 'Driver gloves', 'Hand gloves', 'Moto gloves', 'Specialist gloves', 'Hydra gloves']); UI.SetValue(["misc.", "Team based gloves", "T gloves model"], def); function main() { const localTeam = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_iTeamNum"); var currentGloves; if (localTeam == 2) { //Probably T xd currentGloves = UI.GetValue(["Misc.", "Team based gloves", "T gloves model"]); } if (localTeam == 3) { //But this CT, i know =] currentGloves = UI.GetValue(["Misc.", "Team based gloves", "CT gloves model"]); } UI.SetValue(["Misc.", "Skins", "Models", "Glove model"], currentGloves); } Cheat.RegisterCallback("Draw", "main") function unload() { UI.SetValue(["Misc.", "Skins", "Models", "Glove model"], def); } Cheat.RegisterCallback("unload", "Unload")
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz