Da steht dass irgendwas an Zeile 26 falsch ist.
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
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
function isAdmin(usgn) 	local filename = "sys/lua/Admin.txt" 	local file = io.open(filename) 	if file then 		for line in file:lines() do 			local parses = totable(line) 			if tonumber(parses[1]) ~= nil then 				if usgn==tonumber(parses[1]) then 					if tonumber(parses[2]) ~= nil then 						return tonumber(parses[2]) 					else 						return 1 					end 				end 			end 		end 		if file ~= nil then 			file:close() 		end 	end		 	return 0 else 	admlevelmsg(id) end	 		elseif cmd == "!ban" then 			if rp_Adminlevel[id] >=3 then 				local pl = tonumber(p[2]) 				if pl ~= nil then 					if player(pl,"exists") then 						local ip = player(pl, "ip") 						local usgn = player(pl, "usgn") 						if ip then 							parse("banip "..ip) 						end 						if usgn then 							parse("banusgn "..usgn) 						end 					end 				end 			else 				admlevelmsg(id) 			end 		elseif cmd =="!bring" then 			local pl = tonumber(p[2]) 			if pl ~= nil then 				if player(pl,"exists") then 					parse("setpos "..pl.." "..player(id,"x").." "..player(id,"y")) 				else 					rp_msg2(id,"255000000","This player does not exist!") 				end 			end 		elseif cmd == "!goto" then 			local pl = tonumber(p[2]) 			if pl ~= nil then 				if player(pl,"exists") then 					parse("setpos "..id.." "..player(pl,"x").." "..player(pl,"y")) 				else 					rp_msg2(id,"255000000","This player does not exist!") 				end 			end 		elseif cmd == "!kick" then 			local pl = tonumber(p[2]) 			if pl ~= nil then 				if player(pl,"exists") then 					parse("kick "..pl) 				end 			end 		else 			rp_msg2(id,"255000000","Unknown Command !") 		end 	else 		admlevelmsg(id) 	end end function admlevelmsg(id) 	rp_msg2(id,"255000000","You havent privilage to use this function!") end