Documentation Index
Fetch the complete documentation index at: https://docs.roadshop.org/llms.txt
Use this file to discover all available pages before exploring further.
Installation
This guide will walk you through the complete installation process for RoadPhone Pro on your FiveM server.Requirements
Framework
- ESX (es_extended)
- QBCore (qb-core)
- Qbox (qbx_core)
- Standalone
Database
- mysql-async
- or oxmysql
Dependencies
- xsound
- OneSync enabled
Optional
- ox_inventory / jaksam_inventory (for metadata)
- Voice system (pma-voice, mumble-voip, etc.)
Step 1: Download & Extract
Step 2: Database Setup
Import the SQL file to create the required database tables.- Player data and phone numbers
- Contacts, messages, notes
- TweetWave posts and accounts
- Connect posts and accounts
- Banking transactions
- And more…
Step 3: Basic Configuration
Openconfig.lua and configure the essential settings:
Framework Detection
RoadPhone automatically detects your framework. No manual configuration needed.Phone Item Requirement
config.lua
If
Config.NeedItem = false, all players can open the phone without needing an item.Phone Keybind
config.lua
Language
config.lua
Step 4: Image Upload Setup
RoadPhone requires an image upload service for camera, profile pictures, and media sharing. OpenAPI.lua and configure your upload service:
- FiveManage (Recommended)
- Custom Upload
API.lua
Step 5: Voice Integration
Configure voice chat integration for phone calls:config.lua
Step 6: Music Setup
Set your TebexID to enable the Music App.API.lua
Step 7: Inventory Item Setup
IfConfig.NeedItem = true, you need to add phone items to your inventory system.
- ox_inventory
- QBCore
- ESX
- jaksam_inventory
Add to
ox_inventory/data/items.lua:Step 8: Optional Features
Metadata System (Phone Stealing/Trading)
Enable item-based phone data for advanced features:config.lua
Metadata System Guide
Learn how to set up and use the metadata system for phone stealing, trading, and multiple phones.
Target System
Enable target interaction for phone-related features:config.lua
Billing Integration
Connect with your billing system:config.lua
Banking Integration
config.lua
Step 9: Service & Emergency Numbers
Configure emergency services and dispatch:config.lua
Step 10: Final Steps
Test the phone
Join your server and test the phone:
- Press the configured key (default: F1) or use the phone item
- Check that all apps load correctly
- Test camera functionality
- Make a test call
Troubleshooting
Phone doesn't open
Phone doesn't open
Check:
- Resource is started (
ensure roadphonein server.cfg) - Framework is loaded before roadphone
- If
NeedItem = true, player has a phone item - Keybind is correctly configured
Camera doesn't work
Camera doesn't work
Check:
- API key is set in
API.lua Config.uploadMethodmatches your service- No firewall blocking outgoing requests
Calls don't work
Calls don't work
Check:
- Voice system is correctly configured
- Both players have phone numbers assigned
- xsound resource is running
Database errors
Database errors
Check:
- SQL file has been imported
- mysql-async or oxmysql is running
- Database credentials are correct in server.cfg
Framework not detected
Framework not detected
Check:
- Framework resource starts before roadphone
- Framework is properly installed
- Check server console for Bridge initialization messages
Next Steps
Metadata System
Enable phone stealing, trading, and multiple phones
Server Exports
Integrate RoadPhone with your other resources
Client Exports
Client-side integration options
Commands
Available admin commands