-
Автор темы
- #1
что бы появлялась возможность видеть и менять скорость клантэга только после включенния чекбокса
UI.AddCheckbox( "ClanTag" );
UI.AddSliderInt( "Custom ClanTag Speed", 1, 10 );
var lasttime = 0;
function onRender() {
var speed = UI.GetValue( "Script Items", "Custom ClanTag Speed" );
var time = parseInt((Globals.Curtime() * speed))
if (time != lasttime){
switch((time) % 22) {
case 1: { Local.SetClanTag(" "); break; }
case 2: { Local.SetClanTag("d "); break; }
case 3: { Local.SetClanTag("de "); break; }
case 4: { Local.SetClanTag("dea "); break; }
case 5: { Local.SetClanTag("deat "); break; }
case 6: { Local.SetClanTag("death "); break; }
case 7: { Local.SetClanTag("deat "); break; }
case 8: { Local.SetClanTag("dea "); break; }
case 9: { Local.SetClanTag("de "); break; }
case 10: { Local.SetClanTag("d "); break; }
case 11: { Local.SetClanTag(" "); break; }
case 12: { Local.SetClanTag("n "); break; }
case 13: { Local.SetClanTag("no "); break; }
case 14: { Local.SetClanTag("not "); break; }
case 15: { Local.SetClanTag("note "); break; }
case 16: { Local.SetClanTag("not "); break; }
case 17: { Local.SetClanTag("no "); break; }
case 18: { Local.SetClanTag("n "); break; }
case 19: { Local.SetClanTag(" "); break; }
}
}
lasttime = time;
}
Cheat.RegisterCallback("Draw", "onRender");
UI.AddCheckbox( "ClanTag" );
UI.AddSliderInt( "Custom ClanTag Speed", 1, 10 );
var lasttime = 0;
function onRender() {
var speed = UI.GetValue( "Script Items", "Custom ClanTag Speed" );
var time = parseInt((Globals.Curtime() * speed))
if (time != lasttime){
switch((time) % 22) {
case 1: { Local.SetClanTag(" "); break; }
case 2: { Local.SetClanTag("d "); break; }
case 3: { Local.SetClanTag("de "); break; }
case 4: { Local.SetClanTag("dea "); break; }
case 5: { Local.SetClanTag("deat "); break; }
case 6: { Local.SetClanTag("death "); break; }
case 7: { Local.SetClanTag("deat "); break; }
case 8: { Local.SetClanTag("dea "); break; }
case 9: { Local.SetClanTag("de "); break; }
case 10: { Local.SetClanTag("d "); break; }
case 11: { Local.SetClanTag(" "); break; }
case 12: { Local.SetClanTag("n "); break; }
case 13: { Local.SetClanTag("no "); break; }
case 14: { Local.SetClanTag("not "); break; }
case 15: { Local.SetClanTag("note "); break; }
case 16: { Local.SetClanTag("not "); break; }
case 17: { Local.SetClanTag("no "); break; }
case 18: { Local.SetClanTag("n "); break; }
case 19: { Local.SetClanTag(" "); break; }
}
}
lasttime = time;
}
Cheat.RegisterCallback("Draw", "onRender");