Update mute.txt
This commit is contained in:
parent
08b17d1c86
commit
6861c9fa16
1 changed files with 1 additions and 1 deletions
2
mute.txt
2
mute.txt
|
|
@ -19,7 +19,7 @@ local finded
|
|||
hook.add("PlayerSay","mute",function(ply,text)
|
||||
if ply == owner() and string.explode(" ",text)[1] == "mute" then
|
||||
players = find.allPlayers()
|
||||
name = string.explode(" ",text)[2]
|
||||
name = string.sub(text,6)
|
||||
finded = 0
|
||||
for i = 1 , table.count(players) do
|
||||
if players[i]:isValid() and (string.find(string.lower(players[i]:getName()),string.lower(name)) or players[i]:getSteamID() == name) then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue