Spoiler
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
----------------------------------------------------------------------- ----------- BACK TO THE FUTURE MOD FOR COUNTER-STRIKE 2D -------------- -----------	 SCRIPTING FROM 2014.03.06 TO 2014.XX.XX -------------- ----------- ____________________________________________ -------------- ----------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- ----------- 		WRITTEN BY SALAD FINGERS(6943) 		 -------------- ----------- SPECIAL THANKS TO XY,XY,XY,XY,XY,XY -------------- ----------------------------------------------------------------------- parse("trigger quake_start") parse("trigger haarp_demon") function initArray(m) local array = {} for i = 1, m do array[i]=0 end return array end delorean1=initArray(32) delorean2=initArray(32) delorean3=initArray(32) bttfcar=initArray(32) timetravellers={6943} addhook("serveraction","travellers") function travellers(id,act) for _, usgn in ipairs(timetravellers) do if player(id,'usgn') == usgn then if act==1 then menu(id,"Time Menu,Get Delorean V1") end return 1 end end end state={} timecircuitstate={"OFF","ON"} DestinationTime = os.date("%b|%d|%Y|%p|%I") CurrentTime = os.date("%b|%d|%Y|%p|%I") LastTimeDeparted = os.date("%b|%d|%Y|%p|%I") function etc() 	if timecircuitstate[1]=="ON" then 		parse('hudtxt2 '..id..' 1 "©015148040'..CurrentTime..'" 25 100') 	else 		parse('hudtxt2 '..id..' 1 "©000255000'..CurrentTime..'" 25 100') 	end 	if timecircuitstate[2]=="OFF" then 		parse('hudtxt2 '..id..' 1 "©000255000'..CurrentTime..'" 25 100') 	else 		parse('hudtxt2 '..id..' 1 "©015148040'..CurrentTime..'" 25 100') 	end end addhook("serveraction","TimeMachine") function TimeMachine(id,act) 	for _, usgn in ipairs(timetravellers) do 	if player(id,'usgn') == usgn then 	if act==2 then 	menu(id,"Time Machine,Enable Time Circuit|"..timecircuitstate[1]..",Disable Time Circuit|"..timecircuitstate[2].."") 	end 	return 1 	end 	end end addhook("menu","tr_menu") function tr_menu(id,title,button) if title=="Time Menu" then 	if button==1 then 	if bttfcar[id]==1 then 	freeimage(delorean1[id]) 	end 	delorean1[id] = image('gfx/bttf/delorean/1.png', 1, 1, 200 + id) 	end 	end end addhook("menu","timemenu") function idlemenu(id,title,button,etc) if title=="Time Machine" then if button==1 then timecircuitstate[1]="ON" timecircuitstate[2]="OFF" elseif button==2 then timecircuitstate[1]="OFF" timecircuitstate[2]="ON" end 		 etc() menu(id,"Time Machine,Enable Time Circuit|"..timecircuitstate[1]..",Disable Time Circuit|"..timecircuitstate[2].."") end end
Anybody else know whats wrong with this code?
I got null error, when click to Enable