mirror of
https://github.com/CFC-Servers/cfc_ulx_commands.git
synced 2025-03-04 03:13:28 -05:00
Update lua/autorun/server/anti_mute_evasion.lua
Co-authored-by: Brandon Sturgeon <sturgeonb4@gmail.com>
This commit is contained in:
parent
d7d35ad41e
commit
38d3f287b8
@ -10,7 +10,7 @@ local isBannedWhileMuted = {
|
||||
hook.Add( "ULibCommandCalled", "CFC_AntiUnmute_PreventUnmute", function( ply, commandName, args )
|
||||
if not isBannedWhileMuted[commandName] then return end
|
||||
if ply.gimp == ID_MUTE then
|
||||
ULib.tsayError( ply, "you can't do that while muted" )
|
||||
ULib.tsayError( ply, "You can't do that while muted" )
|
||||
return false
|
||||
end
|
||||
end )
|
||||
|
Loading…
Reference in New Issue
Block a user