Trashtalk, который пишет "1", а после через выбранное вами время "iq?"
Просил БеZуМныЙ1337 , а я решил выложить
JavaScript:
var says = [];
var old_time = 0;
var elements = [0, 3, 5];
UI.AddSubTab( ["Misc.", "SUBTAB_MGR"], "Good trashtalk");
UI.AddCheckbox( ["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk"], "Enable trashtalk");
UI.AddDropdown( ["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk"], "Delay", ["0 seconds", "3 seconds", "5 seconds", "Custom"], 0);
UI.AddSliderFloat( ["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk"], "Custom delay", 0.0, 10.0);
function visibility(){
var enable = UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Enable trashtalk"]);
UI.SetEnabled(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Delay"], enable);
if (enable && UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Delay"]) == 3){
UI.SetEnabled(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Custom delay"], 1);
} else {
UI.SetEnabled(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Custom delay"], 0);
}
}
function timer(){
if (!UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Enable trashtalk"])) return;
var value = 0;
if (UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Delay"]) != 3){
value = elements[UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Delay"])];
} else {
value = UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Custom delay"]);
}
if (says.length > 0){
if (says[0].length > 1){
Cheat.ExecuteCommand(says[0][0]);
says[0].shift();
} else if (Globals.Curtime( ) - old_time >= value){
Cheat.ExecuteCommand(says[0][0]);
says.shift();
old_time = Globals.Curtime();
}
} else {
old_time = Globals.Curtime();
}
}
function trash(){
if(!UI.GetValue(["Misc.", "Good trashtalk", "SHEET_MGR", "Good trashtalk", "Enable trashtalk"])) return;
var attacker = Entity.GetEntityFromUserID(Event.GetInt("attacker"));
if(Entity.IsLocalPlayer(attacker) && attacker != Entity.GetEntityFromUserID(Event.GetInt("userid")))
{
says.push(["say 1", "say iq?"]);
}
};
Cheat.RegisterCallback("FrameStageNotify", "visibility");
Cheat.RegisterCallback("CreateMove", "timer");
Cheat.RegisterCallback("player_death", "trash");
Просил БеZуМныЙ1337 , а я решил выложить