📔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.

Step 1: File Location

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

Step 2: Items

Activate unique and useable in qb-core/shared/items.lua

phone = { name = 'phone', label = 'Phone', weight = 700, type = 'item', image = 'phone.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Neat phone ya got there' },
iphone = { name = 'iphone', label = 'iPhone', weight = 1000, type = 'item', image = 'iphone.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Very expensive phone' },

Step 3: Insert SQL Query

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

Step 4: Serverconfig.lua Configuration

  • Fill in the blanks in gksphone/configAPI.lua with discord webhook for taking photos(Don't skip without filling these sections).

Code BlockValueExplanation

Cfg.TebexTransactionID

tbx-ordernumber

You need to set to your ESX version.

Cfg.MediaServices

Media service name

discord, gkshop, imgur, imgbb

Cfg.MediaToken

Media Token

Token outside Discord, if discord leave blank

Cfg.PhotoWebhook

discord webhook

Enter the discord webhook link you created

Cfg.VoiceMail

discord webhook

Enter the discord webhook link you created

Step 5: 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 6: Polyzone

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

Step 7: Server.cfg Configuration

Just start the phone file is enough.

ensure [phone]

Last updated