Camera & Gallery
The Camera app captures photos and videos in-game. Media is automatically uploaded to your configured storage provider and accessible in the Gallery.
Camera
- Photo mode — tap shutter to capture a WebP/JPEG screenshot
- Video mode — record clips up to Config.Video.MaxDuration seconds
- Flashlight toggle (drains battery at FlashlightOn rate)
- Zoom support via pinch or slider
- Script cam mode — detaches the camera for cinematic angles
- Front / rear camera toggle
Photo editor
After taking a photo, players can optionally edit it before saving:
- Crop and rotate
- Brightness / contrast / saturation sliders
- Filters (presets applied client-side before upload)
- Draw / annotate on the image
- Confirm to upload or discard to retake
Gallery
The Gallery app displays all saved media organized into albums:
- All Photos album — chronological view of all captures
- Album creation for manual organization
- Tap to preview full-screen; swipe to navigate
- Share to Messages, WhatsApp, InstaFlow or Threads directly from Gallery
- Delete media (counts toward storage cap reduction)
- Storage usage indicator in Settings app
Upload flow
After capture (and optional editing), media is compressed client-side and uploaded server-side to the configured provider:
- 1Client captures screenshot / video recording
- 2Photo editor (optional) — filters and edits applied in-browser
- 3Client sends raw bytes to the server via NUI callback
- 4Server uploads to Fivemanage / S3 / R2 using the API key from apiKeys.lua
- 5CDN URL returned and stored in database; media now accessible in Gallery
Videos larger than
Config.Video.MaxSize MB are rejected before upload. Players see an error message and the recording is discarded.