📔Installation

On this page you will find installation instructions for the GKSPHONE V2 version.

If you are transferring files using FTP transfer your files using winscp program. Filezilla transfers files as corrupted.

If you are switching from v1 to v2, you need to remove the gksphone_* tables in the database.

Step 1: File Location

  • Create a [phone] folder inside the main source file and extract the files in the zip to this folder.

If you are using ox_inventory, follow the steps on the documentation page

Step 2: Insert SQL Query

  • Read the gksphone/gksphonev2.sql file into your database.

Step 3: Serverconfig.lua Configuration

  • You can use any media service you want. The media upload systems we recommend are GKS Media, Discord Webhook, Fivemerr and Fivemanage.

Cfg.MediaServices = {
    ImgService = {
        url = "WriteYourDiscordWebhook", --Write Discord Webhook here.
        field = "file",
        AuthHeader = "",
        AuthToken = "",
        returnIndex = "attachments.0.url"
    },
    AudioService = {
        url = "WriteYourDiscordWebhook", --Write Discord Webhook here.
        field = "file",
        AuthHeader = "",
        AuthToken = "",
        returnIndex = "attachments.0.url"
    },
    VideoService = {
        url = "WriteYourDiscordWebhook", --Write Discord Webhook here.
        field = "file",
        AuthHeader = "",
        AuthToken = "",
        returnIndex = "attachments.0.url"
    },
}

Step 4: Config.lua Configuration

Code BlockValueExplanation

Config.MetaItem

true or false

Set to false to disable Unique (Meta) Item

Config.ChargeEnable

true or false

Set to false to disable charging

Config.JOBDispatch

jobname

It should be done like the current police

Step 5: Polyzone

If you want to use the phone's signal feature, don't forget to use the polyzone script.

Step 6: Server.cfg Configuration

Just start the phone file is enough.

ensure [phone]

Last updated