Ulysses Stuff > Suggestions

Client Mute

(1/3) > >>

Undercover Orange:
I have people on my server who complain cause people are talking im wondering if its possible to make a command that allows them mute all/some players (preferably not admins and above)

roastchicken:
Do you want a command like ULX's !mute, where it mutes the targeted player(s) for everyone, or do you want a command that only mutes the targeted player(s) for the player who ran the command?

The first option can be accomplished by setting can_target. I'll go figure out how that works again now, and report back.

edit: If you want to prevent users from muting admins and above (assuming "above" groups inherit from admin), set can_target to !%admin.
Stickly Man! also made a post about it: http://forums.ulyssesmod.net/index.php/topic,5346.0.html

For the second option, you're going to need a custom command. I think there's a Garry's Mod function to mute someone client side, so that shouldn't be too difficult.

edit: Player:SetMuted

Undercover Orange:
im talking the second. but without being able to mute admins.

JamminR:
ULX already has this capability.
Use can_target as recommended.

Undercover Orange:

--- Quote from: JamminR on July 01, 2016, 10:17:50 PM ---ULX already has this capability.

--- End quote ---

so it doesnt mute that person for everyone? if not why would it be only available to admins and above when first installed?
also how exactly does can target work? if i type admin does that mean they can target admins or only whats below admin?

Navigation

[0] Message Index

[#] Next page

Go to full version