English A in the (admin)

8 replies
Goto Page
To the start Previous 1 Next To the start
08.06.13 02:03:36 pm
Up
RealDespress28
BANNED
Offline Off
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
08.06.13 02:16:09 pm
Up
limonata
User
Offline Off
Try this.

Code:
1
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
08.06.13 02:23:36 pm
Up
RealDespress28
BANNED
Offline Off
thanks but uhm... you got failure
"
(ADMIN)Epic Duel Says: ada
Epic Duel: ada
"
08.06.13 05:09:39 pm
Up
Starkkz
Moderator
Online On
@user RealDespress28: It will work if you stop using other scripts that use the say hook.
lol
08.06.13 11:27:05 pm
Up
RealDespress28
BANNED
Offline Off
user Starkkz: can you make one? cause i need it in my server.
08.06.13 11:54:31 pm
Up
limonata
User
Offline Off
Probably you have more say hook. You should make just one.
09.06.13 12:25:46 pm
Up
RealDespress28
BANNED
Offline Off
user limonata: i got only two say hooks the RESETSCORE and the ADMINSAY.
09.06.13 02:27:55 pm
Up
Xirot
User
Offline Off
user RealDespress28: Can you do it alone?
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!
Yakuza.
09.06.13 05:14:14 pm
Up
Rainoth
Moderator
Offline Off
This.
user limonata has written:
Code:
1
addhook("say","adminsay")

Into this.
Code:
1
addhook("say","adminsay",1)


Try it. Might work. Helped me before.
To the start Previous 1 Next To the start