feat(esx_ambulancejob): optional Medal.tv auto-clip on death#113
Merged
Conversation
ASTROWwwW
force-pushed
the
feat/ambulance-medal-clip
branch
3 times, most recently
from
July 14, 2026 15:19
31ff8f7 to
ce2720f
Compare
Contributor
|
After reviewing the code, it reflects the necessary changes to integrate Medal with our ambulance job system. The Medal API key used here is public and Medal doesn't plan to support obtaining a dedicated public key per account. Because of that, I don't think it's necessary to make the key configurable. Overall, the implementation looks good to me. Thanks for the contribution! |
N0tNvll
approved these changes
Jul 14, 2026
Contributor
Author
|
No worries. Just kept it in config so it's easy to swap if they ever change the key. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional Medal.tv auto-clip when a player dies, using Medal's fixed public FiveM auto-clipping token. On death the client saves a clip through the player's local Medal app (localhost:12665), so the clip lands on their own machine and nothing is sent to the server.
On by default. Set Config.Medal.enabled = false in config.lua to turn it off. Requires the player to run the Medal desktop app with the Events API enabled.