Documentation
  • INFORMATION
    • Discord Community
    • Common Errors
  • ASSETS
    • nPhone
      • Installation
      • Exports
      • Custom Apps
        • Resource Creation
        • SDK Functions
    • nv_SafeZone
      • Installation
      • Usage
    • nv_DjDesk
      • Installation
      • Creating new stages
    • nv_Scoreboard
Powered by GitBook
On this page
  • Step 1 - Installing dependences
  • Step 2 - Setting up api keys
  • Step 3 - Start order
  • Step 4 - Creating SQL tables
  • Finishing - Last steps
  1. ASSETS
  2. nPhone

Installation

PreviousnPhoneNextExports

Last updated 1 year ago

We exclusively support qb-core and esx frameworks. While using the script without them is an option, adjustments are required modifying the open-source part of the framework code. If you choose standalone use, please be aware that the Wallet, Music, and Garage apps won't function unless you adapt them accordingly.

Step 1 - Installing dependences

nPhone relies on one essential dependency: oxmysql. Additionally, for the Music app to function properly, it requires a modified version of xsound. Here are the links to these crucial resources:

Step 2 - Setting up api keys

To enable the functionality of images, videos, and audio, it is necessary to configure a Cloud Server for file uploads. Below, you will find the path to the API key:

nPhone/config/apiKeys_s.lua

Step 3 - Start order

On the server.cfg, you will have to start the resources in this order:

ensure oxmysql
ensure xsound

ensure frameworkName
ensure inventoryName
ensure voiceSystemName

ensure nPhone

Step 4 - Creating SQL tables

When we have all set, we can start the script and it will automatically create the SQL tables.

If you don't have the latest version of MariaDB it won't work.

If you want to install the SQL manually, you can get the SQL file on: nPhone/config/installation/nPhone.sql

Finishing - Last steps

System
Path

Framework

nPhone/config/frameworks/framework.lua

Voice

nPhone/config/frameworks/voice.lua

Inventory

nPhone/config/frameworks/inventory.lua

File uploads can be made throw or , we strongly recommend , which provides for free 10GB (+50000 images) of storage, and images are permanently stored.

To use ChatGPT APP, you will have to set up an .

If you are using the supported frameworks ( or ), the supported voice systems (, or ) and the supported inventory systems (, , , or ), your installation has been successfully completed. nPhone will automatically detect the framework you are currently using. If you prefer to employ a custom framework, rest assured that our framework code is open source. This allows you the flexibility to modify and tailor it to suit your specific framework requirements. The file paths are as follows:

Fivemanage
Discord
Fivemanage
OpenAI API Key
esx
qbcore
pma-voice
mumble-voip
saltychat
qb-inventory
qs-inventory
ps-inventory
ox_inventory
lj-inventory
GitHub - overextended/oxmysql: MySQL resource for FXServer.GitHub
GitHub - Geloteee/xsound: Improved audio library for FiveMGitHub
Logo
Logo