Documentation
  • 📄TeamsGG Documentation
    • Common Errors
  • Paid Scripts
    • 📱Phone
      • 🧠Installation
      • 🦄Unique phones
      • 💿Configure
        • 💄Additional Features
        • 📸Camera
        • 🍏Apps
        • 🪵Logs
        • 🖼️Media Customization
        • 🗣️Multi-Language Support
        • 🗃️SIM Cards
        • 🚗Valet System
      • ⏭️Exports
        • Client side
          • 👁️‍🗨️General
          • ☀️Groups
          • 🏢Companies
          • 🔧Misc
        • Server side
          • 🆔Identify Player
          • ☎️Sim Cards
          • ☀️Groups
          • 🌐Cell Broadcast
          • 💸YPay
          • 📧Mail
          • 📪Notifications
          • 📵Screen Damage
          • 🔧Misc
      • 🪛Commands
      • 🍎Custom apps
    • ☎️Boomer Phone
      • 🧠Installation
      • 🦄Unique phones
      • ⏯️Exports
        • Client side
    • 🏠Properties
      • 🧠Installation
      • 💿Configure
      • 🐚Add More Shells
      • ⏭️Exports
        • Client side
          • GetCurrentPropertyId
          • GetCurrentProperty
          • IsPointInsideProperty
          • OpenPropertyMenu
          • AddKey
          • RemoveKey
          • SetWaypointToProperty
          • GetAllProperties
          • GetKeyHolders
          • PoliceRaidDoor
        • Server side
          • GetAllProperties
          • AddKey
          • RemoveKey
          • ToggleDoorlock
          • GetPlayersInProperty
          • GetKeyHolders
          • DeleteProperty
          • AddStarterApartment
      • 👜State bags
    • 🏦Banking
      • 🧠Installation
      • ⏯️Exports
        • Client side
        • Server side
    • 💸Billing
      • 🧠Installation
      • ⏭️Exports
        • Client side
        • Server side
    • 📊Hud
      • 🧠Installation
      • ⏭️Exports
        • Client side
    • 📦Storage Units
      • 🧠Installation
Powered by GitBook
On this page
  • Configuration Steps
  • 1. Configure Upload Method
  • 2. Set Server Variables
  • 3. Restart Server
  • Storage Options
  • Discord Webhook (Not Recommended)
  • Custom Implementation
  • Troubleshooting
  1. Paid Scripts
  2. Phone
  3. Configure

Camera

The YSeries phone camera can take pictures and record videos. You need to store this media somewhere, and several storage options are provided.

Configuration Steps

1. Configure Upload Method

Navigate to config/config.upload.lua and set the Config.Upload.Method to your preferred option:

  • Discord - ⚠️ NOT RECOMMENDED (the links will expire after a while)

  • Fivemanage - Most Reliable

  • Fivemerr - Most Reliable

  • Custom - You need to implement it yourself

2. Set Server Variables

Add the following variables to your server.cfg file:

set yseriesApiKeyImage "PUT_YOUR_API_KEY_OR_WEBHOOK_HERE"
set yseriesApiKeyVideo "PUT_YOUR_API_KEY_OR_WEBHOOK_HERE" 
set yseriesApiKeyAudio "PUT_YOUR_API_KEY_OR_WEBHOOK_HERE"

3. Restart Server

Restart your server and the camera should work if everything was configured correctly.

Storage Options

Discord Webhook (Not Recommended)

  • Pros: Easy to set up

  • Cons: Links expire after some time, not reliable for long-term storage

  • Usage: Use Discord webhook URL as the API key

Custom Implementation

  • Pros: Full control over storage, permanent links

  • Cons: Requires custom development

  • Usage: Implement your own upload service and provide the API endpoint

Troubleshooting

  • Ensure API keys are properly set in server.cfg

  • Check that the upload method is correctly configured

  • Verify server restart was completed

  • Check server console for any error messages related to media upload


PreviousAdditional FeaturesNextApps

Last updated 4 days ago

Reference:

📱
💿
📸
TeamsGG Documentation