Skip to main content

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

1

Download RoadPhone Pro

Download the latest version from your purchase location (Tebex/CFX).
2

Extract the resource

Extract the roadphone folder to your server’s resources directory.
3

Ensure the resource

Add the following to your server.cfg:
server.cfg
Make sure roadphone starts after your framework (ESX/QBCore/Qbox), database, and inventory resources.

Step 2: Database Setup

Import the SQL file to create the required database tables.
The SQL file creates tables for:
  • Player data and phone numbers
  • Contacts, messages, notes
  • TweetWave posts and accounts
  • Connect posts and accounts
  • Banking transactions
  • And more…

Step 3: Basic Configuration

Open config.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. Open API.lua and configure your upload service:
Without a valid API key, camera and image upload features will not work.

Step 5: Voice Integration

Configure voice chat integration for phone calls:
config.lua
If no voice system is enabled, phone calls will not work.

Step 6: Music Setup

Set your TebexID to enable the Music App.
API.lua
If no tebexid is entered. Music will not work.

Step 7: Inventory Item Setup

If Config.NeedItem = true, you need to add phone items to your inventory system.
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

1

Restart your server

Restart your FiveM server to apply all changes.
2

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
3

Give players phones

If Config.NeedItem = true, give players phone items:

Troubleshooting

Check:
  • Resource is started (ensure roadphone in server.cfg)
  • Framework is loaded before roadphone
  • If NeedItem = true, player has a phone item
  • Keybind is correctly configured
Check:
  • API key is set in API.lua
  • Config.uploadMethod matches your service
  • No firewall blocking outgoing requests
Check:
  • Voice system is correctly configured
  • Both players have phone numbers assigned
  • xsound resource is running
Check:
  • SQL file has been imported
  • mysql-async or oxmysql is running
  • Database credentials are correct in server.cfg
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