New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Add a new export to disable voice chat while person is dead #78
Comments
|
You can do that yourself in whatever script handles dying, just disable their PTT key when they die CreateThread(function()
while isDead do
DisableControlAction(0, 249, true)
Wait(0)
end
end) |
|
You can look into |
|
@AvarianKnight I have tried that already. It won't work. |
|
You can use the mute stuff that was added as an export for this. |
|
Hello there Its there a way to stop people talking when dead? CreateThread(function() This is not really an option since people can change their key Gta Config |
|
... That's not how keybinds work, that action doesn't magically go away if they bind it to a different key, either way this was possible before FiveM added PTT going through any action disable (mainly so you can talk in maps and iirc when the game is alt-tabbed) You can see a more recent workaround in this discussion |
Not able to disable the push to talk control/key while a person is dead. I also couldn't find any export to block the voice chat while a person is dead. It'll will helpful if you can add it in next update.
The text was updated successfully, but these errors were encountered: