📱Installations

Automatic installation is available for (QBCore 1.2.5 > or newer) or (ESX 1.10.5 > or newer). SQL installations are performed automatically. You can see the sql control status in the server console.

If SQL Tables are not created automatically or there is any error, please open a ticket on discord.

Siri and the Advanced 911 system require AI API setup. For this you need to do extra setup please follow the documentation to install it.

Detailed phone setup and AI setup guide video

Doing the phone setup

Download the latest version of the script via Keymaster.

Extract the folder in the zipped file you downloaded to your resources folder.

Inside the Resources folder you will see a folder named stache-phone. Define this folder in server.cfg

Make sure the name of the script is `stache-phone` do not change it!

Make sure the requirements are up to date!

inside ox_lib/fxmanifest.lua

Check the ox_lib version and check the latest version from this link. Make sure you are using the latest version. If you are using a very old version, please update.

Using oxmysql as database driver. To install it, download it from this link and drop it into Resources. Start before the phone.

Requirements need to be start before the phone

ensure oxmysql -- Requirements
ensure qb-core / es_extended -- Core Defination
ensure ox_lib -- Requirements
ensure inventory -- If you are using an inventory

ensure stache-phone

Making adjustments

After performing the above installations, you can take a look at the necessary settings if you need them.

⚙️Configuration

Using the AI Service

Azure and Wolfram Keys are needed to use the AI Service. The Azure service normally offers paid services, but free services are available. You can choose according to your server capacity. These are the most available methods for Fivem at the moment. If you are a large community, you can optionally install wit, but create a support request for this because a special AI training is required before using wit.

Getting Wolfram Key

Wolfram is a free service. However, a special definition is required for each server. It is necessary for the AI service to communicate in real time.

Go to the Wolfram. And click this.

Top Right on the page.

Create an account and log in. Then go to this page.

Fill in the blanks as you like and select the type as in the picture.

Then get the api key you created.

Configuration/Variables.lua

Place the app id you received here.

Install the Azure Service

If you are going to use azure as an Api (remember, it is subject to certain fees, but the quality is high.)

Go to the Azure portal. And make this search.

Create a New One.

Make your arrangements and create.

Then go to the Overview section.

Configuration/Variables.lua

The keys up to this point will go to the places indicated above.

Then go to the azure portal again and do the following search.

Then create a translator in the same way.

Go to this section to get our translator keys.

Configuration/Variables.lua

Place the translator keys you received in this section.

Proceed to the Lua Definitions Section with these key and region info.

Api Key Definitions on the Lua Side

We are making these edits in Configuration/Variables.lua.

Configuration/Variables.lua

After making all your Lua-side settings, you need to make changes to ui/config.js to use ai services.

To activate the Siri system, first complete the above installations.

ui/config.js

Last updated