is it possible to change the action of this script:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
adminlist = {86415} addhook("vote","antivote") function antivote(id,modus,votedplayer) if modus == 1 then for _,adminUSGN in pairs(adminlist) do if adminUSGN == player(votedplayer,"usgn") then parse("kick "..id.." Don't vote admins!") msg("Don't vote "..player(votedplayer,"name").." or you will get kicked") end end end end
The person who is voting me should not be able to vote me. The script just kicks him but I still get voted.