CodeStudio Bodycam & Dashcam
Upload cs_bodycam recordings to BasiX with its CustomUpload option and your own uploader in index.html.
You need a BasiX API key for this. Free account, 3 GB included, no card.Get your key →
1.Create a key
Create an upload-scoped key in your client area. Upload-scoped keys work on every plan, including the free one, and cannot delete anything — which is what you want in a file that ends up in a resource folder.
2.Turn on CustomUpload
In `Config.Recording`, set `CustomUpload` to `true` and leave `Fivemanage` on `false`. CodeStudio documents it as the switch for your own uploader in `index.html`; with both off, the script falls back to Discord.
luaConfig.Recording = { Enable = true, Fivemanage = false, CustomUpload = true, }3.Point the uploader at BasiX
In your uploader in `index.html`, post the recording to the BasiX endpoint and read the `url` field of the answer. Webhook URLs and API keys are set in `config/functions/sv_function.lua`.
httpPOST https://upload.basix.media/api/v3/file Authorization: YOUR_BASIX_KEY → { "success": true, "url": "https://cdn.basix.media/…", "data": { "url": "…" } }
Worth knowing
- `index.html` is the interface, which runs on the player’s game client: a key written there can be read by players. Use an upload-scoped key, which cannot delete anything.
- Keep the other `Config.Recording` fields (`RecordFPS` and the rest) as they are in your copy.
- Source: https://codestudio5m.gitbook.io/codestudio/our-scripts/bodycam-and-dashcam/setup
Configuration last checked against the upstream project on 2026-10-27.
Try it on your own server
Create a free account and your API key is ready in about two minutes. 3 GB included, bandwidth never billed, no card needed.
Something not working, or a script not listed? Read the full FiveM docs or ask us — we will wire it up with you.