code 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
i = 0
text_type = 0 --normal
while (i <= #admin) do
i = i + 1
if (player(id, "usgn") == admin[i]) then
text_type = 1 --administrator
end
end
if (player(id, "usgn") == 5783) then
text_type = 2 -- high admin
end
if text_type == 0 then
msg("©255255255 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
end
if text_type == 1 then
msg("©000000255 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
end
if text_type == 2 then
msg("©255000000 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
end
return 1
code 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
i = 0
text_type = 0 --normal
while (i <= #admin) do
i = i + 1
if (player(id, "usgn") == admin[i]) then
text_type = 1 --administrator
end
end
if (player(id, "usgn") == 5783) then
text_type = 2 -- high admin
end
if text_type == 0 then
msg("©255255255 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
return 1
end
if text_type == 1 then
msg("©000000255 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
return 1
end
if text_type == 2 then
msg("©255000000 ["..id.."]{"..player(id,"usgn").."}"..player(id,"name")..": "..text.."")
return 1
end
noone of these works
the msg are displayed correctly, however reall text is still displayed, no error
i dont se problem
also, this is only a part of the code
old text still displayed
1 
Offline