Last active
December 30, 2025 05:39
-
-
Save Randolio/7239c8087084fdb24a52f936f37806ec to your computer and use it in GitHub Desktop.
Mute on death (randol_medical)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AddEventHandler('randol_medical:onPlayerDeath', function() | |
| if not exports['pma-voice']:isPlayerMuted(cache.serverId) then | |
| exports['pma-voice']:toggleMutePlayer(cache.serverId) | |
| end | |
| end) | |
| AddEventHandler('randol_medical:onPlayerLastStand', function() | |
| if not exports['pma-voice']:isPlayerMuted(cache.serverId) then | |
| exports['pma-voice']:toggleMutePlayer(cache.serverId) | |
| end | |
| end) | |
| AddEventHandler('randol_medical:onRevive', function() | |
| if exports['pma-voice']:isPlayerMuted(cache.serverId) then | |
| exports['pma-voice']:toggleMutePlayer(cache.serverId) | |
| end | |
| end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment