Deatherr has written
Thanks starkkz but i have another one.....I don't know if it works though...
I don't know why its not showing the spaces/tabs
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
99
100
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
99
100
function sc_class_ct(id) menu(id,"Class Menu,SCV| Level 1,Marine| Level 1,Firebat| Level 2,Medic| Level 2,Ghost| Level 5,Vulture| Level 7,Goliath| Level 10,Siege Tank| Level 13") end function sc_class_t(id) menu(id,"Class Menu,Probe| Level 1,Zealot| Level 1,Dragoon| Level 3,Reaver| Level 5,Dark Templar| Level 5,High Templar| Level 7,Archon| Level 13") end addhook("spawn","spawns") function spawns(id) if (player(id,"team") == 1) then -- Protoss 			--Probe if (t_class[id] == 1) then parse("speedmod "..id.." 0") parse("setmaxhealth "..id.." 40") return "74" 			 --Zealot elseif (t_class[id] == 2) then parse("speedmod "..id.." 0") parse("setmaxhealth "..id.." 100") return "50" 			 --Dragoon elseif (t_class[id] == 3) then 				if sc2d.level[id]=3 parse("speedmod "..id.." 2") parse("setmaxhealth "..id.." 100") return "75" 			 --Reaver elseif (t_class[id] == 4) then 				if sc2d.level[id]=5 parse("speedmod "..id.." -5) parse("setmaxhealth "..id.." 100") return "69" 			 --Dark Temlar elseif (t_class[id] == 5) then 				if sc2d.level[id]=5 parse("speedmod "..id.." -2) parse("setmaxhealth "..id.." 80") return "69" 			 --High Templar elseif (t_class[id] == 6) then 				if sc2d.level[id]=7 parse("speedmod "..id.." 3) parse("setmaxhealth "..id.." 40") return "11" 			 --Archon elseif (t_class[id] == 7) then 				if sc2d.level[id]=13 parse("speedmod "..id.." 5) parse("setmaxhealth "..id.." 250") return "85" end elseif (player(id,"team") == 2) then -- Terran 			 --SCV if (ct_class[id] == 1) then parse("speedmod "..id.." 0") parse("setmaxhealth "..id.." 60") return "74" 			 --Marine elseif (ct_class[id] == 2) then parse("speedmod "..id.." 0") parse("setmaxhealth "..id.." 40") return "20" 			 --Firebat elseif (ct_class[id] == 3) then 				if sc2d.level[id]=2 parse("speedmod "..id.." 2") parse("setmaxhealth "..id.." 50") return "46" 			 --Medic elseif (ct_class[id] == 4) then 				if sc2d.level[id]=2 parse("speedmod "..id.." -1") parse("setmaxhealth "..id.." 50") return "78" 			 --Ghost elseif (ct_class[id] == 5) then 				if sc2d.level[id]=5 parse("speedmod "..id.." 3") parse("setmaxhealth "..id.." 45") return "34" 			 --Vulture elseif (ct_class[id] == 6) then 				if sc2d.level[id]=7 parse("speedmod "..id.." 7") parse("setmaxhealth "..id.." 80") return "49" 			 --Goliath elseif (ct_class[id] == 7) then 				if sc2d.level[id]=10 parse("speedmod "..id.." 3") parse("setmaxhealth "..id.." 125") return "32" 			 --Siege Tank elseif (ct_class[id] == 8) then 				if sc2d.level[id]=13 parse("speedmod "..id.." -3") parse("setmaxhealth "..id.." 150") return "48" end end end
I don't know why its not showing the spaces/tabs
you want level class?
use the example of BF2D 1.3.
on spawn.