A in the (admin)
8 replies



08.06.13 02:03:36 pm
why there is an  in the say when i say "adws" it will change into "Â(ADMIN)Epic Duel Says: adws"
adminlist = {120454}
HELP!!!
addhook("say","adminsay")
function adminsay(id,txt)
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
msg("©000255255(ADMIN)"..player(id,"name").." Says: "..txt)
return 1
end
end
end
adminlist = {120454}
HELP!!!
addhook("say","adminsay")
function adminsay(id,txt)
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
msg("©000255255(ADMIN)"..player(id,"name").." Says: "..txt)
return 1
end
end
end
Try this.
Code:
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
adminlist = {120454}
addhook("say","adminsay")
function adminsay(id,txt)
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
msg(string.char(169).."000255255(ADMIN)"..player(id,"name").." Says: "..txt)
return 1
end
end
end
addhook("say","adminsay")
function adminsay(id,txt)
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
msg(string.char(169).."000255255(ADMIN)"..player(id,"name").." Says: "..txt)
return 1
end
end
end
@
RealDespress28: It will work if you stop using other scripts that use the say hook.




Try to remove your fucking admin say code completly and make a new one by searching in the lua scripts. To much scripts as this exists!
STOP ASKING OTHERS!
This.
limonata has written:
Into this.
Try it. Might work. Helped me before.

Code:
1
addhook("say","adminsay")
Into this.
Code:
1
addhook("say","adminsay",1)
Try it. Might work. Helped me before.



