Local mute

I’m trying to make a command to locally mute someone. I found this http://wiki.garrysmod.com/page/Player/SetMuted but when I use it, it returns a nil value. It is thing so it shouldn’t be nil. Here is the code I have:

local CATEGORY_NAME = “Danker”

function ulx.ignore( calling_ply, target_ply, should_unmute )
if not should_unmute then
target_ply:SetMuted( mute )
else
target_ply:SetMuted( unmute )
end

if not should_unmute then
	ulx.fancyLogAdmin( calling_ply, "#A ignored #T", target_ply )
else
	ulx.fancyLogAdmin( calling_ply, "#A unignored #T", target_ply )
end

end

local ignore = ulx.command( CATEGORY_NAME, “ulx ignore”, ulx.ignore, “!ignore” )
ignore:addParam{ type=ULib.cmds.PlayersArg }
ignore:defaultAccess( ULib.ACCESS_ADMIN )
ignore:help( “Locally mutes target” )
ignore:setOpposite( “ulx unignore”, {_, _, true}, “!unignore” )

It’s clientside only.

–SNIP Nevermind you wouldn’t be able to define target_ply–