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
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
addhook("say","say")
function say(id,txt,arguments)
if (player(id,"team")==1) then
color[id] = "255000000"
else
if (player(id,"team")==2) then
color[id] = "050150255"
else
color[id] = "255220000"
end
end
if (txt:sub(1,3)=="!pm") then
msg2(txt:sub(5,6),"\169255255000"..player(id,"name")..": ".."\169255255255"..txt:sub(7,100).."")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Message sent successful")
return 1
end
if vip[id] == 1 then
if (player(id,"health")>0) then
msg("\169"..color[id]..""..player(id,"name").." \169190190190[VIP]:\169255220000 "..txt)
return 1
else
if vip[id] == 1 then
if (player(id,"health")==0) then
msg("\169"..color[id]..""..player(id,"name").." \169190190190[VIP]\169255220000 *DEAD*: "..txt)
return 1
end
end
end
end
if admin[id] == 1 then
if (player(id,"health")>0) then
msg("\169"..color[id]..""..player(id,"name").." \169255255255[Admin]:\169255220000 "..txt)
return 1
else
if admin[id] == 1 then
if (player(id,"health")==0) then
msg("\169"..color[id]..""..player(id,"name").." \169255255255[Admin]\169255220000 *DEAD*: "..txt)
return 1
end
end
end
end
if (txt=="!help") then
if admin[id] == 1 then
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!help")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!rs")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!bringall")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!mute \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!unmute \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!kick \169000255000<id> <reason>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!ban \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!kill \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!killall")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!freeze \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!unfreeze \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!goto \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!bring \169000255000<id>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!rcon \169000255000<command>")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!pm \169000255000<id> <message>")
return 1
else
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!help")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!rscore")
msg2(id,"\169255255000[ Information ]: ".."\169000255000Say \169255255255!pm \169000255000<id> <message>")
return 1
end
end
end
anyhelp?
edited 1×, last 17.04.20 09:11:59 pm
Say script issue
1 
Offline
Marcell
