-
Notifications
You must be signed in to change notification settings - Fork 0
/
clantag.js
64 lines (62 loc) · 1.54 KB
/
clantag.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
var currentTick = 0;
var lastTick = 0;
var special = false
var speed = 22;
var ctag = 0
function Draw(){
currentTick = parseInt(Globals.Curtime() * 1000);
if (currentTick - (10000 / speed) >= lastTick){
switch ((ctag) % 11){
case 0:{
Local.SetClanTag("l");
break;
}
case 1:{
Local.SetClanTag("l1");
break;
}
case 2:{
Local.SetClanTag("l1m");
break;
}
case 3:{
Local.SetClanTag("l1mp");
break;
}
case 4:{
Local.SetClanTag("l1mpe");
break;
}
case 5:{
Local.SetClanTag("l1mpex");
break;
}
case 6:{
Local.SetClanTag("l1mpe");
break;
}
case 7:{
Local.SetClanTag("l1mp");
break;
}
case 8:{
Local.SetClanTag("l1m");
break;
}
case 9:{
Local.SetClanTag("l1");
break;
}
case 10:{
Local.SetClanTag("l");
break;
}
if (ctag == 10){
ctag = 0;
}else{
ctag = ctag+1;
}
lastTick = currentTick;
}
}
Cheat.RegisterCallback("Draw", "Draw");