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
----------------------------
addhook('say','kingchat')
addhook('die','die_hook')
addhook('kill','kingkill')
-----------------------------
function kingchat(id,txt)
if player(id,"score")==15 then
msg("\169255128000[King] "..player(id,"name").."\169255255255: "..txt)
return 1
end
if player(id,"score")==0 and player(id,'deaths')==0 or player(id,"score") and player(id,'deaths') then
msg("\169255025000"..player(id,"name").."\169255255000: "..txt)
return 1
elseif player(id,"team")==2 then
msg("\169000128255"..player(id,"name").."\169255255000: "..txt)
return 1
end
end
function kingkill(id)
if player(id,"score")==15 then
msg("\169000255000"..player(id,"name").." \169255255255is Now King For Killing 15 Players !")
end
end
function die_hook(id)
if player(id,"score")==15 and player(id,'deaths')==5 then
msg("\169255000000"..player(id,"name").." \169255255255is No Longer King !")
end
end