FreeScriptsDocsSupport

Browse

  • Documentation
    • FAQ
  • 📱 Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • 💿 Configure
      • 💄 Additional Features
      • 📸 Camera
      • 📹 Video Calls
      • 🍏 Apps
      • 🪵 Logs
      • 🔋 Battery System
      • 🖼️ Media Customization
      • 🗣️ Multi-Language Support
      • 🗃️ SIM Cards
      • 🚗 Valet System
      • 🖼️ Wallpapers App
      • ⛅ Weather Widget
    • ⏭️ Exports
      • Client side
        • 👁️‍🗨️ General
        • 📞 Calls
        • ☀️ Groups
        • 🏢 Companies
        • 🔧 Misc
        • 🗼 Signal Towers
      • Server side
        • 🆔 Identify Player
        • ☎️ Sim Cards
        • 📞 Calls
        • 💬 Messages
        • ☀️ Groups
        • 🌐 Cell Broadcast
        • 💸 YPay
        • 📧 Mail
        • 📪 Notifications
        • 📵 Screen Damage
        • 🗯️ Dark Chat
        • 🔧 Misc
    • 🪛 Commands
    • 📡 Events
      • Server side
        • 📨 Messages
        • 📱 Social Media
        • ☎️ Calls
    • 🍎 Custom apps
    • 🏦 Banking App
    • 📈 Markets App
    • 👜 State bags
  • ☎️ Boomer Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • ⏯️ Exports
      • Client side
  • 🏠 Properties
    • 🧠 Installation
    • 💿 Configure
    • 🔗 Compatibility
      • Phones
        • YSeries
        • LB Phone
    • 📖 Guides
      • 🛏️ Starter Apartments
      • 🐚 Add More Shells
      • 🔑 Physical Keys
      • 🪑 Furniture As Items
      • 🛠️ Fix Interactable Points
      • 📋 Discord Logs Setup
    • ⏭️ Exports
      • Client side
        • GetCurrentPropertyId
        • GetCurrentProperty
        • IsPointInsideProperty
        • OpenPropertyMenu
        • AddKey
        • RemoveKey
        • SetWaypointToProperty
        • GetAllProperties
        • GetKeyHolders
        • PoliceRaidDoor
        • WrapIntoProperty
        • GetClosestDoor
        • GetEntryCoordinates
        • UseLockpick
        • PoliceRaidDoor
      • Server side
        • GetAllProperties
        • GetPropertyData
        • AddKey
        • RemoveKey
        • ToggleDoorlock
        • GetPlayersInProperty
        • GetKeyHolders
        • DeleteProperty
        • AddStarterApartment
        • SellProperty
        • TransferProperty
    • 🪝 Hooks System
      • buyProperty
      • rentProperty
      • sellProperty
      • deleteProperty
      • createDoor
      • saveSettings
      • setInteractablePoint
      • canEnter
      • canExit
    • 👜 State bags
  • 🏦 Banking
    • 🧠 Installation
    • 🪛 Commands
    • ⏯️ Exports
      • Client side
      • Server side
    • 🪵 Logs
    • 🪝 Hooks
    • 🏦 Banking App
  • 💸 Billing
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
      • Server side
  • 📊 Hud
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
  • 📦 Storage Units
    • 🧠 Installation
  • 🎰 Slots
    • 🧠 Installation
    • 📱 Phone app
  • 🎃 Minigames
    • 🎯 Exports and Usage
    • 🔧 Commands

💄 Additional Features

Currency Configuration

Overview

The YSeries phone system allows you to customize currency display and formatting to match your server's economy and regional preferences.

Currency Settings

Configure currency in config/config.misc.lua:

lua
Config.CurrencyFormat = "{amount}$"  -- How currency is displayed
Config.CurrencySymbol = "$"          -- Currency symbol
Config.CurrencyLabel = 'usd'         -- Currency identifier

Currency Format Examples

Euro

lua
Config.CurrencyFormat = "{amount} €"
Config.CurrencySymbol = "€"
Config.CurrencyLabel = 'eur'
-- Output: 1.250,00 €

Custom Currency

lua
Config.CurrencyFormat = "{amount} Credits"
Config.CurrencySymbol = "CR"
Config.CurrencyLabel = 'credits'
-- Output: 1,250 Credits

Cell Broadcast System

Overview

Cell broadcast technology allows emergency alerts and public messages to be sent to all mobile users on the server, simulating real-world emergency alert systems.

Basic Usage

Via Export

lua
---Sends a cell broadcast message.
---@param to number The recipient of the message. Source id.
---@param title string The title of the message.
---@param content string The content of the message.
---@param iconUrl string The URL of the icon to display with the message.
exports["yseries"]:CellBroadcast(to, title, content, iconUrl)

Via Command (In-Game)

/cellbroadcast <source> <title> <content> <iconUrl(optional)>

Implementation Examples

Emergency Alert

lua
-- Server-side emergency broadcast
RegisterNetEvent('emergency:sendAlert', function(alertType, message)
    local players = GetPlayers()
    
    for _, playerId in pairs(players) do
        exports["yseries"]:CellBroadcast(
            tonumber(playerId),
            "🚨 EMERGENCY ALERT",
            message,
            "https://example.com/emergency-icon.png"
        )
    end
end)

Custom Sound Configuration

Replacing Default Sound

You can replace the default cell broadcast sound:

  • Location: /ui/build/sounds/notifications/apps/cellBroadcast.mp3
  • Format: MP3 recommended
  • Duration: Keep under 3 seconds for better user experience
  • Volume: Ensure it's attention-grabbing but not jarring

Death/Revive Handling

Overview

The phone system can be configured to restrict phone usage when players are dead or unconscious, adding realism to the roleplay experience.

Basic Configuration

Configure death handling in client/custom/functions/death.lua:

lua
-- Trigger these events based on your framework
function OnDeath()
    -- Called when player dies
    TriggerEvent('yseries:player:died')
end

function OnRevive()
    -- Called when player is revived
    TriggerEvent('yseries:player:revived')
end

On this page

  • Currency Configuration
  • Overview
  • Currency Settings
  • Currency Format Examples
  • Cell Broadcast System
  • Overview
  • Basic Usage
  • Implementation Examples
  • Custom Sound Configuration
  • Death/Revive Handling
  • Overview
  • Basic Configuration

All Rights Reserved

TeamsGG © 2026

Pages

FreeScriptsDocsSupport

Legal

Terms of ServiceRefunds

Tebex

Tebex ImpressumTebex TermsTebex Privacy

Socials

DiscordYouTube