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
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
if tgne==nil then tgne={} end tgne.test={} minute = 0 parse("sv_gamemode 3") addhook("spawn","tgne.test.spawn") addhook("minute","tgne.test.minute") addhook("build","tgne.test.site") addhook("build","tgne.test.sitenow") function tgne.test.minute() minute = minute+1 	if (minute == 5) then 	msg ("©128000000 This is an official Construction Server!") 	msg("©128000128 Official [CM] Clan Dedi") end 	if (minute == 3) then 	msg ("©000000128 This construction server is powered by [CM]CmDark.") end function tgne.test.spawn() 	return "58,74" end parse("mp_building_limit Turret 9999") parse("mp_building_limit Supply 9999") parse("mp_building_limit Dispenser 9999") lim = 'mp_building_limit "%s" 9999' parse (lim:format("Gate Field")) parse (lim:format("Wall I")) parse (lim:format("Wall II")) parse (lim:format("Wall III")) parse (lim:format("Teleporter Entrance")) parse (lim:format("Teleporter Exit")) parse (lim:format("Barricade")) parse (lim:format("Barbed Wire")) function tgne.test.site(id,type) 	if (type == 21) then 		return 0 	else 		return 1 	end end function tgne.test.sitenow(id,type,x,y) 	if (type == 21) then 		return 0 	else 		parse("spawnobject "..type.." "..x.." "..y.." 90 1 "..player(id,"team").." "..id) 	end end
Help ASAP please.. i wanna open my dedi when i get home tmrow
Why do i need to end function
edited 3×, last 29.09.09 09:06:17 am