I Start Make Simple Script " to use in my servers " coming soon , and i have a probleme in say ??
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
101
102
103
104
105
106
107
108
109
110
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
101
102
103
104
105
106
107
108
109
110
Owner = {}
Admin = {}
Mod = {}
Controler = {}
VIP = {}
colors = 1
addhook("say","says")
function says(id,t)
for _,usgn in ipairs(Owner) do
if player(id,'usgn') == usgn then
if colors == 1 then
msg("©255000000 >Owner< "..player(id,"name).." : "..t
return 1
end
end
end
for _, usgn in ipairs (Admin) do
if player(id,'usgn') == usgn then
if colors == 1 then
msg("©255255000 >Admin< "..player(id,"name").." : "..t)
end
end
end
for _, usgn in ipairs (Mod) do
if player(id,'usgn') == usgn then
if colors == 1 then
msg("©000255000 >Mod< "..player(id,"name").." : "..t)
end
end
end
for _, usgn in ipairs (Controler) do
if player(id,'usgn') == usgn then
if colors == 1 then
msg("©000000255 >Controler< "..player(id,"name").." : "..t)
end
end
end
for _,usgn in ipairs (VIP) do
if player(id,'usgn') == usgn then
if colors == 1 then
msg("©000255255 >VIP< "player(id,"name").." : "..t)
end
end
end
end
addhook("say","sayss")
function sayss(id,t)
if colors == 0 then
return false
end
end
addhook("say","ed")
function ed(id,txt)
for __, usgn in ipairs(Owner) do
if player(id,'usgn') == usgn then
if txt == "!tagon" then
colors = 1
elseif txt == "!tagoff" then
colors = 0
end
return 1
end
end
for _, usgn in ipairs(Admin) do
if player(id,'usgn') == usgn then
if txt == "!tagon" then
colors = 1
elseif txt == "!tagoff" then
colors = 0
end
return 1
end
end
addhook("say","ed")
function ed(id,txt)
for __, usgn in ipairs(Mod) do
if player(id,'usgn') == usgn then
if txt == "!tagon" then
colors = 1
elseif txt == "!tagoff" then
colors = 0
end
return 1
end
end
for _, usgn in ipairs(Controler) do
if player(id,'usgn') == usgn then
if txt == "!tagon" then
colors = 1
elseif txt == "!tagoff" then
colors = 0
end
return 1
end
end
for _, usgn in ipairs(VIP) do
if player(id,'usgn') == usgn then
if txt == "!tagon" then
colors = 1
elseif txt == "!tagoff" then
colors = 0
end
return 1
end
end
end
 
 Admin Script dont work ??
 
 1 
 Offline

 Rainoth
  , thanks you all  
 
  
 §4.4 - Titles/texts in capital letters are impolite and undesired
  , I Fixed many bug in my Script