-
Автор темы
- #1
Misc. ---> Helpers ---> General ---> [Crack Checker]
Пожалуйста, авторизуйтесь для просмотра ссылки.
Код:
ranks = [
'7967900',
'4270009',
'4957777',
'5473315',
'3469890',
'5564787',
'5400421',
'6388460',
'5331741',
'5731104',
'5011116',
'6481730',
'5739377',
'4732452',
'5310050',
'4375377',
'3953648',
'5539525',
'5886532'
]
var spam = [];
var pos = 0;
var lastexec = 0;
UI.AddCheckbox(["Misc.", "SUBTAB_MGR", "Helpers", "SHEET_MGR", "General"], "[Crack Checker] ");
function onPlayerSay() {
if(UI.GetValue(["Misc.", "SUBTAB_MGR", "Helpers", "SHEET_MGR", "General", "[Crack Checker] "]))
{
UI.SetValue(["Misc.", "SUBTAB_MGR", "Helpers", "SHEET_MGR", "General", "[Crack Checker] "], 0)
spam = []
players = Entity.GetPlayers();
for (i = 0; i < players.length; i++) {
name = Entity.GetName(players[i])
if (name != "GOTV") { // dumb check for GOTV
wins = Entity.GetProp(players[i], "CCSPlayerResource", "m_iCompetitiveWins")
rank = ranks[Entity.GetProp(players[i], "CCSPlayerResource", "m_iCompetitiveRanking")]
spam[i] = "say " + " [Crack Checker] Acc " + name + " sold 1 times for " + wins + " usd on LolzTeam, market ID (" + rank + ")";
lastexec = Globals.Curtime() + 1;
}
pos = -1;
}
}
}
function spamPrint() {
if (Globals.Curtime() > lastexec && pos < spam.length) {
if (pos == -1) {
Cheat.ExecuteCommand("")
pos++
} else {
Cheat.ExecuteCommand(spam[pos++])
}
lastexec = Globals.Curtime() + 1;
}
}
Cheat.RegisterCallback("FrameStageNotify", "onPlayerSay");
Cheat.RegisterCallback("Draw", "spamPrint")