Installation

Welcome to the Quasar Smartphone installation guide, here you can learn how to completely install our asset, following each step we will achieve a clean and fluid installation where you will not find any problems, as long as the documentation has been completed in full.

If you do not have programming experience, we recommend that you read each step completely without skipping any lines, since all documentation is important and should not be ignored under any circumstances. If you have a trusted developer, you can install this quickly, easily and safely if you complete this documentation step by step.

If at the end of this documentation you still have any problems, review each step again, after having checked that everything is correct, you can obtain more information about common errors in the Common Problems section within this same documentation to seek help independently.


Asset download

To find the asset, you must have made the purchase using your own keymaster account. Otherwise, you can use the transfer system to move the asset to a different keymaster account.

If you need to make an update you must also do this step again, download the asset and you will get the complete update.

Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case, since Escrow requires some basic things for its operation, such as your keymaster account, your licensekey , etc.

pageFiveM Asset Escrow System

Asset dependencies

Quasar Smartphone now supports mx-surround, an incredible asset that will automatically adapt to the Smartphone and will allow you to listen to music with 8D effects and will also integrate searching for music and videos using text instead of a link!

This asset has some dependencies that are completely mandatory and important for the operation of the asset. If you do not have these dependencies, your asset will probably start and have some error or message in its command console.


Dependencies for photos

Do not skip this step and follow it step by step to avoid problems when taking photos or uploading videos to the TikTok app, if you do not do this, you will not be able to do any of them.

Quasar Smartphone depends on screenshot-basic to take photos or send videos through TikTok, but for this dependency to work, it requires us to do a few simple steps that we do not have to skip.

I still can't take photos

If this is the case, then you did not do the steps below this document, make sure you follow the two steps below, otherwise you will not be able to take photos.

Replace our cfx-natives

This step is mandatory, if you skip it you will not be able to make the photos work. Please contact your trusted developer if you cannot do this simple step.

Before starting the asset we must do a brief update to our cfx-natives, in the link below you will get the new cfx-natives.

Once downloaded, we will look for the native ones we currently have on our server and completely replace them with the ones we just downloaded.

Delete our server cache

Once the cfx-natives have been updated and replaced, we will have to delete our cache folder within the server, this way when you restart the server, all the natives will begin to be installed along with screenshot-basic, just be patient.

Integrate webhooks

To integrate all the webhooks we will simply go to the server/custom/webhooks file and add our webhooks using the snippet that you will find right here.


Asset positioning

Correctly position the assets by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step.

For the execution of this asset, we will respect the respective order mentioned below. We recommend starting both dependencies and the same smartphone asset in the same [smartphone] folder. Otherwise we will have to start the dependencies first and then the qs-smartphone.

-- First we will start the cores, never below
ensure es_extended or qb-core

-- Your inventory system, always on top
ensure [inventory]

-- Run qs-advancedgarages here along with its dependencies
ensure [smartphone]

Database

Our smartphone system includes multiple databases, which will require you to wipe your current databases on other phones.

Before running the Smartphone we will have to update and install our database, select the option that suits your framework since each one is different.

Database for esx

This database is exclusive for esx, if you do not use said framework, look for the next part of this document. This event will remove your current data and install the new ones completely.

ALTER TABLE `users` ADD IF NOT EXISTS `apps` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `widget` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `bt` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `charinfo` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `metadata` mediumtext;
ALTER TABLE `users` ADD IF NOT EXISTS `cryptocurrency` longtext;
ALTER TABLE `users` ADD IF NOT EXISTS `cryptocurrencytransfers` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `phonePos` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `spotify` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `ringtone` TEXT;
ALTER TABLE `users` ADD IF NOT EXISTS `first_screen_showed` INT(11) DEFAULT NULL;

DROP TABLE IF EXISTS `insta_stories`;
CREATE TABLE `insta_stories` (
  `username` varchar(50),
  `location` varchar(50),
  `filter` varchar(50),
  `description` varchar(50),
  `image` text,
  `created` time
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_stories`;
CREATE TABLE `instagram_stories` (
  `owner` varchar(50) COLLATE armscii8_bin,
  `data` text COLLATE armscii8_bin,
  PRIMARY KEY (`owner`) USING BTREE
) ENGINE = InnoDB DEFAULT CHARSET = armscii8 COLLATE = armscii8_bin;

DROP TABLE IF EXISTS `instagram_account`;
CREATE TABLE `instagram_account` (
  `id` varchar(90) NOT NULL,
  `name` varchar(50) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `avatar` text,
  `description` text,
  `verify` INT(11) NOT NULL DEFAULT '0'
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_followers`;
CREATE TABLE `instagram_followers` (
  `username` varchar(50) NOT NULL,
  `followed` varchar(50) NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_posts`;
CREATE TABLE `instagram_posts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `description` varchar(255) NOT NULL,
  `location` varchar(50) NOT NULL DEFAULT 'Los Santos',
  `filter` varchar(50) NOT NULL,
  `created` timestamp NOT NULL,
  `likes` TEXT COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 14 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_mails`;
CREATE TABLE `player_mails` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `sender` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `subject` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `message` TEXT NULL COLLATE 'utf8mb4_general_ci',
  `read` TINYINT(4) NULL,
  `mailid` INT(11) NULL,
  `date` TIMESTAMP NULL DEFAULT current_timestamp(),
  `button` TEXT COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `identifier` (`identifier`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 2;

DROP TABLE IF EXISTS `tinder_accounts`;
CREATE TABLE `tinder_accounts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL DEFAULT '0',
  `pp` text NOT NULL,
  `name` varchar(50) NOT NULL DEFAULT '0',
  `gender` varchar(50) NOT NULL,
  `targetGender` varchar(50) NOT NULL DEFAULT '0',
  `hobbies` varchar(50) NOT NULL DEFAULT '0',
  `age` varchar(50) NOT NULL DEFAULT '0',
  `description` varchar(50) NOT NULL DEFAULT '0',
  `password` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 17 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `tinder_likes`;
CREATE TABLE `tinder_likes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(1024) NOT NULL,
  `likeds` mediumtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_invoices`;
CREATE TABLE `phone_invoices` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `citizenid` varchar(50) DEFAULT NULL,
  `amount` int(11) NOT NULL DEFAULT 0,
  `society` tinytext DEFAULT NULL,
  `sender` varchar(50) NULL,
  `sendercitizenid` varchar(50) DEFAULT NULL,
  PRIMARY KEY (id)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;

DROP TABLE IF EXISTS `phone_accounts`;
CREATE TABLE `phone_accounts` (
  `app` varchar(50) NOT NULL,
  `id` varchar(80) NOT NULL,
  `name` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `birthdate` varchar(50) NOT NULL,
  `gender` varchar(50) NOT NULL,
  `interested` text NOT NULL,
  `avatar` text NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_chats`;
CREATE TABLE `phone_chats` (
  `app` varchar(50) NOT NULL,
  `author` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_messages`;
CREATE TABLE `phone_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50),
  `number` varchar(50) NOT NULL,
  `owner` varchar(50),
  `messages` text NOT NULL,
  `type` varchar(50),
  `read` int(11),
  `created` varchar(50),
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 20 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_notifies`;
CREATE TABLE `phone_notifies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `msg_content` text NOT NULL,
  `msg_head` varchar(50) NOT NULL DEFAULT '',
  `app_name` text NOT NULL,
  `msg_time` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 64 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_contacts`;
CREATE TABLE `player_contacts` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `number` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `iban` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
  `display` VARCHAR(50) COLLATE 'utf8mb4_general_ci',
  `note` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `pp` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `isBlocked` INT(11) NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `identifier` (`identifier`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 38;

DROP TABLE IF EXISTS `player_gallery`;
CREATE TABLE `player_gallery` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `resim` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `data` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `created_at` TIMESTAMP NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 11;

DROP TABLE IF EXISTS `tinder_messages`;
CREATE TABLE `tinder_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` longtext NOT NULL,
  `messages` longtext DEFAULT '{}',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11;

DROP TABLE IF EXISTS `twitter_account`;
CREATE TABLE `twitter_account` (
  `id` varchar(90) NOT NULL,
  `name` varchar(50) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `avatar` text NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `twitter_hashtags`;
CREATE TABLE `twitter_hashtags` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(80) NOT NULL,
  `created` varchar(50) NOT NULL,
  `count` int(11) NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 8 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `twitter_mentions`;
CREATE TABLE `twitter_mentions` (
  `id` INT(11) NOT NULL AUTO_INCREMENT COLLATE 'utf8mb4_general_ci',
  `id_tweet` INT(11) NOT NULL COLLATE 'utf8mb4_general_ci',
  `username` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
  `mentioned` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `created` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 4;

DROP TABLE IF EXISTS `twitter_tweets`;
CREATE TABLE `twitter_tweets` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `username` varchar(80) NOT NULL,
  `message` longtext NOT NULL,
  `hashtags` varchar(50) NOT NULL,
  `mentions` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `likes` TEXT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 24 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_accounts`;
CREATE TABLE `whatsapp_accounts` (
  `id` varchar(100) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `name` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `phone` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `password` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `avatar` text NOT NULL COLLATE UTF8MB4_UNICODE_CI
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_chats`;
CREATE TABLE `whatsapp_chats` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `messages` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 43 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_chats_messages`;
CREATE TABLE `whatsapp_chats_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_chat` int(11) NOT NULL,
  `owner` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `message` text NOT NULL,
  `readed` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;

DROP TABLE IF EXISTS `whatsapp_groups`;
CREATE TABLE `whatsapp_groups` (
  `id` int(11) AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `created` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 8 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_groups_messages`;
CREATE TABLE `whatsapp_groups_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_group` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `read` int(11) NOT NULL,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci;

DROP TABLE IF EXISTS `whatsapp_groups_users`;
CREATE TABLE `whatsapp_groups_users` (
  `number_group` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `admin` int(11) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `phone` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_notes`;
CREATE TABLE `player_notes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` text NOT NULL,
  `baslik` text NOT NULL,
  `aciklama` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_stories`;
CREATE TABLE `whatsapp_stories` (
  `phone` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `created` varchar(50) NOT NULL,
  `description` varchar(50),
  `location` varchar(50),
  `filter` varchar(50)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `darkchat_messages`;
CREATE TABLE `darkchat_messages` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `password` text NOT NULL,
  `owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `name` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  `messages` TEXT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `id` (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 10;

DROP TABLE IF EXISTS `phone_alertjobs`;
CREATE TABLE `phone_alertjobs` (
  `id` int(11) NOT NULL,
  `job` varchar(255) NOT NULL,
  `alerts` longtext NULL,
  `date` timestamp NULL DEFAULT current_timestamp()
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `yellowpages_posts`;
CREATE TABLE `yellowpages_posts` (
    `id` INT AUTO_INCREMENT PRIMARY KEY,
    `message` TEXT,
    `name` VARCHAR(255),
    `number` VARCHAR(20),
    `url` VARCHAR(255)
);

DROP TABLE IF EXISTS `phone_news`;
CREATE TABLE `phone_news` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
  `title` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
  `content` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
  `image` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
  `created` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci',
  PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB AUTO_INCREMENT=5;

DROP TABLE IF EXISTS `tiktok_users`;
CREATE TABLE `tiktok_users` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `username` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `phone` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `pp` TEXT NULL COLLATE 'utf8mb4_general_ci',
    `name` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `bio` TEXT NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
    `birthday` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `videos` TEXT NOT NULL DEFAULT '{}' COLLATE 'utf8mb4_general_ci',
    `followers` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    `following` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    `liked` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    PRIMARY KEY (`id`) USING BTREE,
    INDEX `id` (`id`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=13
;

DROP TABLE IF EXISTS `tiktok_videos`;
CREATE TABLE `tiktok_videos` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `userID` INT(11) NULL DEFAULT NULL,
    `created` VARCHAR(50) NOT NULL DEFAULT '00:00:00' COLLATE 'utf8mb4_unicode_ci',
    `data` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
    `phone` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
    PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_unicode_ci'
ENGINE=InnoDB
AUTO_INCREMENT=440
;

ALTER TABLE `phone_alertjobs` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `job` (`job`);

ALTER TABLE `phone_alertjobs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

ALTER TABLE whatsapp_groups_messages CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_groups_users CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_accounts CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_chats_messages CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
Database for qbcore

This database is exclusive for qbcore, if you do not use said framework, look for the next part of this document. This event will remove your current data and install the new ones completely.

ALTER TABLE `players` ADD IF NOT EXISTS `apps` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `widget` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `bt` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `charinfo` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `metadata` mediumtext;
ALTER TABLE `players` ADD IF NOT EXISTS `cryptocurrency` longtext;
ALTER TABLE `players` ADD IF NOT EXISTS `cryptocurrencytransfers` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `phonePos` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `spotify` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `ringtone` TEXT;
ALTER TABLE `players` ADD IF NOT EXISTS `first_screen_showed` INT(11) DEFAULT NULL;

DROP TABLE IF EXISTS `insta_stories`;
CREATE TABLE `insta_stories` (
  `username` varchar(50),
  `location` varchar(50),
  `filter` varchar(50),
  `description` varchar(50),
  `image` text,
  `created` time
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_stories`;
CREATE TABLE `instagram_stories` (
  `owner` varchar(50) COLLATE armscii8_bin,
  `data` text COLLATE armscii8_bin,
  PRIMARY KEY (`owner`) USING BTREE
) ENGINE = InnoDB DEFAULT CHARSET = armscii8 COLLATE = armscii8_bin;

DROP TABLE IF EXISTS `instagram_account`;
CREATE TABLE `instagram_account` (
  `id` varchar(90) NOT NULL,
  `name` varchar(50) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `avatar` text,
  `description` text,
  `verify` INT(11) NOT NULL DEFAULT '0'
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_followers`;
CREATE TABLE `instagram_followers` (
  `username` varchar(50) NOT NULL,
  `followed` varchar(50) NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `instagram_posts`;
CREATE TABLE `instagram_posts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `description` varchar(255) NOT NULL,
  `location` varchar(50) NOT NULL DEFAULT 'Los Santos',
  `filter` varchar(50) NOT NULL,
  `created` timestamp NOT NULL,
  `likes` TEXT COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 14 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_mails`;
CREATE TABLE `player_mails` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `citizenid` varchar(50) DEFAULT NULL, 
  `sender` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `subject` VARCHAR(50) NULL COLLATE 'utf8mb4_general_ci',
  `message` TEXT NULL COLLATE 'utf8mb4_general_ci',
  `read` TINYINT(4) NULL,
  `mailid` INT(11) NULL,
  `date` TIMESTAMP NULL DEFAULT current_timestamp(),
  `button` TEXT COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `identifier` (`identifier`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 2;

DROP TABLE IF EXISTS `tinder_accounts`;
CREATE TABLE `tinder_accounts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL DEFAULT '0',
  `pp` text NOT NULL,
  `name` varchar(50) NOT NULL DEFAULT '0',
  `gender` varchar(50) NOT NULL,
  `targetGender` varchar(50) NOT NULL DEFAULT '0',
  `hobbies` varchar(50) NOT NULL DEFAULT '0',
  `age` varchar(50) NOT NULL DEFAULT '0',
  `description` varchar(50) NOT NULL DEFAULT '0',
  `password` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 17 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `tinder_likes`;
CREATE TABLE `tinder_likes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(1024) NOT NULL,
  `likeds` mediumtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_invoices`;
CREATE TABLE `phone_invoices` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `citizenid` varchar(50) DEFAULT NULL,
  `amount` int(11) NOT NULL DEFAULT 0,
  `society` tinytext DEFAULT NULL,
  `sender` varchar(50) NULL,
  `sendercitizenid` varchar(50) DEFAULT NULL,
  PRIMARY KEY (id)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;

DROP TABLE IF EXISTS `phone_accounts`;
CREATE TABLE `phone_accounts` (
  `app` varchar(50) NOT NULL,
  `id` varchar(80) NOT NULL,
  `name` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `birthdate` varchar(50) NOT NULL,
  `gender` varchar(50) NOT NULL,
  `interested` text NOT NULL,
  `avatar` text NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_chats`;
CREATE TABLE `phone_chats` (
  `app` varchar(50) NOT NULL,
  `author` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_messages`;
CREATE TABLE `phone_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `citizenid` varchar(46) DEFAULT NULL,
  `phone` varchar(50),
  `number` varchar(50) NOT NULL,
  `owner` varchar(50),
  `messages` text NOT NULL,
  `type` varchar(50),
  `read` int(11),
  `created` varchar(50),
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 20 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `phone_notifies`;
CREATE TABLE `phone_notifies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `msg_content` text NOT NULL,
  `msg_head` varchar(50) NOT NULL DEFAULT '',
  `app_name` text NOT NULL,
  `msg_time` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 64 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_contacts`;
CREATE TABLE `player_contacts` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `citizenid` varchar(50) DEFAULT NULL, 
  `name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `number` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `iban` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
  `display` VARCHAR(50) COLLATE 'utf8mb4_general_ci',
  `note` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `pp` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `isBlocked` INT(11) NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `identifier` (`identifier`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 38;

DROP TABLE IF EXISTS `player_gallery`;
CREATE TABLE `player_gallery` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `identifier` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `resim` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `data` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `created_at` TIMESTAMP NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 11;

DROP TABLE IF EXISTS `tinder_messages`;
CREATE TABLE `tinder_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` longtext NOT NULL,
  `messages` longtext DEFAULT '{}',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11;

DROP TABLE IF EXISTS `twitter_account`;
CREATE TABLE `twitter_account` (
  `id` varchar(90) NOT NULL,
  `name` varchar(50) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) DEFAULT NULL,
  `avatar` text NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `twitter_hashtags`;
CREATE TABLE `twitter_hashtags` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(80) NOT NULL,
  `created` varchar(50) NOT NULL,
  `count` int(11) NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 8 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `twitter_mentions`;
CREATE TABLE `twitter_mentions` (
  `id` INT(11) NOT NULL AUTO_INCREMENT COLLATE 'utf8mb4_general_ci',
  `id_tweet` INT(11) NOT NULL COLLATE 'utf8mb4_general_ci',
  `username` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
  `mentioned` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
  `created` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 4;

DROP TABLE IF EXISTS `twitter_tweets`;
CREATE TABLE `twitter_tweets` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `username` varchar(80) NOT NULL,
  `message` longtext NOT NULL,
  `hashtags` varchar(50) NOT NULL,
  `mentions` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `likes` TEXT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 24 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_accounts`;
CREATE TABLE `whatsapp_accounts` (
  `id` varchar(100) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `name` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `phone` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `password` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `avatar` text NOT NULL COLLATE UTF8MB4_UNICODE_CI
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_chats`;
CREATE TABLE `whatsapp_chats` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `messages` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 43 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_chats_messages`;
CREATE TABLE `whatsapp_chats_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_chat` int(11) NOT NULL,
  `owner` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `created` varchar(50) NOT NULL,
  `message` text NOT NULL,
  `readed` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;

DROP TABLE IF EXISTS `whatsapp_groups`;
CREATE TABLE `whatsapp_groups` (
  `id` int(11) AUTO_INCREMENT,
  `phone` varchar(50) NOT NULL,
  `number` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `created` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 8 DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_groups_messages`;
CREATE TABLE `whatsapp_groups_messages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_group` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `read` int(11) NOT NULL,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci;

DROP TABLE IF EXISTS `whatsapp_groups_users`;
CREATE TABLE `whatsapp_groups_users` (
  `number_group` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `admin` int(11) NOT NULL COLLATE UTF8MB4_UNICODE_CI,
  `phone` varchar(50) NOT NULL COLLATE UTF8MB4_UNICODE_CI
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `player_notes`;
CREATE TABLE `player_notes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` text NOT NULL,
  `baslik` text NOT NULL,
  `aciklama` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `whatsapp_stories`;
CREATE TABLE `whatsapp_stories` (
  `phone` varchar(50) NOT NULL,
  `image` text NOT NULL,
  `created` varchar(50) NOT NULL,
  `description` varchar(50),
  `location` varchar(50),
  `filter` varchar(50)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `darkchat_messages`;
CREATE TABLE `darkchat_messages` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `password` text NOT NULL,
  `owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  `name` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  `messages` TEXT NULL COLLATE 'utf8mb4_general_ci',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `id` (`id`) USING BTREE
) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 10;

DROP TABLE IF EXISTS `phone_alertjobs`;
CREATE TABLE `phone_alertjobs` (
  `id` int(11) NOT NULL,
  `job` varchar(255) NOT NULL,
  `alerts` longtext NULL,
  `date` timestamp NULL DEFAULT current_timestamp()
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

DROP TABLE IF EXISTS `yellowpages_posts`;
CREATE TABLE `yellowpages_posts` (
    `id` INT AUTO_INCREMENT PRIMARY KEY,
    `message` TEXT,
    `name` VARCHAR(255),
    `number` VARCHAR(20),
    `url` VARCHAR(255)
);

DROP TABLE IF EXISTS `phone_news`;
CREATE TABLE `phone_news` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
  `title` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
  `content` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
  `image` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
  `created` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci',
  PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB AUTO_INCREMENT=5;

DROP TABLE IF EXISTS `tiktok_users`;
CREATE TABLE `tiktok_users` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `username` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `phone` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `pp` TEXT NULL COLLATE 'utf8mb4_general_ci',
    `name` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `bio` TEXT NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
    `birthday` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci',
    `videos` TEXT NOT NULL DEFAULT '{}' COLLATE 'utf8mb4_general_ci',
    `followers` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    `following` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    `liked` TEXT NOT NULL COLLATE 'utf8mb4_general_ci',
    PRIMARY KEY (`id`) USING BTREE,
    INDEX `id` (`id`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=13
;

DROP TABLE IF EXISTS `tiktok_videos`;
CREATE TABLE `tiktok_videos` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `userID` INT(11) NULL DEFAULT NULL,
    `created` VARCHAR(50) NOT NULL DEFAULT '00:00:00' COLLATE 'utf8mb4_unicode_ci',
    `data` TEXT NULL COLLATE 'utf8mb4_unicode_ci',
    `phone` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
    PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_unicode_ci'
ENGINE=InnoDB
AUTO_INCREMENT=440
;

ALTER TABLE `phone_alertjobs` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `job` (`job`);

ALTER TABLE `phone_alertjobs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

ALTER TABLE whatsapp_groups_messages CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_groups_users CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_accounts CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;
ALTER TABLE whatsapp_chats_messages CONVERT TO CHARACTER SET utf8mb4 COLLATE UTF8MB4_UNICODE_CI;

Items for Smartphone use

This asset has different items with different uses or phone colors. If your inventory file is not located here, you can take another one as an example and simply adapt it to your needs.

Smartphone has a series of items that are important for its use. For example, phones with different colors or simply items that will apply new functions to our new phone.

Here you will find a series of selected items in different extensions for different inventories, select the option that suits your server, remember that Quasar Store has a completely unique Inventory system with which you can also enjoy your phone.

Items for qs-inventory
["classic_phone"] = {
    ["name"] = "classic_phone",
    ["label"] = "Classic Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["black_phone"] = {
    ["name"] = "black_phone",
    ["label"] = "Black Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "black_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["blue_phone"] = {
    ["name"] = "blue_phone",
    ["label"] = "Blue Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "blue_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["gold_phone"] = {
    ["name"] = "gold_phone",
    ["label"] = "Gold Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "gold_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["red_phone"] = {
    ["name"] = "red_phone",
    ["label"] = "Red Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "red_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["green_phone"] = {
    ["name"] = "green_phone",
    ["label"] = "Green Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "green_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["greenlight_phone"] = {
    ["name"] = "greenlight_phone",
    ["label"] = "Green Light Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "greenlight_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["pink_phone"] = {
    ["name"] = "pink_phone",
    ["label"] = "Pink Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "pink_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["white_phone"] = {
    ["name"] = "white_phone",
    ["label"] = "White Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "white_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["wet_phone"] = {
    ["name"] = "wet__phone",
    ["label"] = "Wet Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_classic_phone"] = {
    ["name"] = "wet_classic_phone",
    ["label"] = "Wet Classic Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_black_phone"] = {
    ["name"] = "wet_black_phone",
    ["label"] = "Wet Black Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_black_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_blue_phone"] = {
    ["name"] = "wet_blue_phone",
    ["label"] = "Wet Blue Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_blue_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_gold_phone"] = {
    ["name"] = "wet_gold_phone",
    ["label"] = "Wet Gold Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_gold_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_red_phone"] = {
    ["name"] = "wet_red_phone",
    ["label"] = "Wet Red Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_red_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

["wet_green_phone"] = {
    ["name"] = "wet_green_phone",
    ["label"] = "Wet Green Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_green_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["wet_greenlight_phone"] = {
    ["name"] = "wet_greenlight_phone",
    ["label"] = "Wet Green Light Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_greenlight_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["wet_pink_phone"] = {
    ["name"] = "wet_pink_phone",
    ["label"] = "Wet Pink Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_pink_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["wet_white_phone"] = {
    ["name"] = "wet_white_phone",
    ["label"] = "Wet White Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_white_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

["phone_module"] = {
    ["name"] = "phone_module",
    ["label"] = "Phone Module",
    ["weight"] = 300,
    ["type"] = "item",
    ["image"] = "phone_module.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "It seems that we can fix a wet phone with this module, interesting."
},

["powerbank"] = {
    ["name"] = "powerbank",
    ["label"] = "Power Bank",
    ["weight"] = 150,
    ["type"] = "item",
    ["image"] = "powerbank.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Incredible portable charger!"
},
Items for qb-inventory
classic_phone = {
    ["name"] = "classic_phone",
    ["label"] = "Classic Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

black_phone = {
    ["name"] = "black_phone",
    ["label"] = "Black Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "black_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

blue_phone = {
    ["name"] = "blue_phone",
    ["label"] = "Blue Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "blue_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

gold_phone = {
    ["name"] = "gold_phone",
    ["label"] = "Gold Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "gold_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

red_phone = {
    ["name"] = "red_phone",
    ["label"] = "Red Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "red_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

green_phone = {
    ["name"] = "green_phone",
    ["label"] = "Green Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "green_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

greenlight_phone = {
    ["name"] = "greenlight_phone",
    ["label"] = "Green Light Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "greenlight_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

pink_phone = {
    ["name"] = "pink_phone",
    ["label"] = "Pink Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "pink_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

white_phone = {
    ["name"] = "white_phone",
    ["label"] = "White Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "white_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

wet_phone = {
    ["name"] = "wet__phone",
    ["label"] = "Wet Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_classic_phone = {
    ["name"] = "wet_classic_phone",
    ["label"] = "Wet Classic Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_classic_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_black_phone = {
    ["name"] = "wet_black_phone",
    ["label"] = "Wet Black Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_black_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_blue_phone = {
    ["name"] = "wet_blue_phone",
    ["label"] = "Wet Blue Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_blue_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_gold_phone = {
    ["name"] = "wet_gold_phone",
    ["label"] = "Wet Gold Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_gold_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_red_phone = {
    ["name"] = "wet_red_phone",
    ["label"] = "Wet Red Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_red_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Did you really think that swimming in the ocean with your phone was a good idea?"
},

wet_green_phone = {
    ["name"] = "wet_green_phone",
    ["label"] = "Wet Green Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_green_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

wet_greenlight_phone = {
    ["name"] = "wet_greenlight_phone",
    ["label"] = "Wet Green Light Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_greenlight_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

wet_pink_phone = {
    ["name"] = "wet_pink_phone",
    ["label"] = "Wet Pink Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_pink_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

wet_white_phone = {
    ["name"] = "wet_white_phone",
    ["label"] = "Wet White Phone",
    ["weight"] = 700,
    ["type"] = "item",
    ["image"] = "wet_white_phone.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},

phone_module = {
    ["name"] = "phone_module",
    ["label"] = "Phone Module",
    ["weight"] = 300,
    ["type"] = "item",
    ["image"] = "phone_module.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "It seems that we can fix a wet phone with this module, interesting."
},

powerbank = {
    ["name"] = "powerbank",
    ["label"] = "Power Bank",
    ["weight"] = 150,
    ["type"] = "item",
    ["image"] = "powerbank.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Incredible portable charger!"
},
Items for ox_inventory
["black_phone"] = {
    label = "Black Phone",
    weight = 10,
    stack = false,
},

["pink_phone"] = {
    label = "Pink Phone",
    weight = 10,
    stack = false,
},

["blue_phone"] = {
    label = "Blue Phone",
    weight = 10,
    stack = false,
},

["red_phone"] = {
    label = "Red Phone",
    weight = 10,
    stack = false,
},

["classic_phone"] = {
    label = "Classic Phone",
    weight = 10,
    stack = false,
},

["gold_phone"] = {
    label = "Gold Phone",
    weight = 10,
    stack = false,
},

["greenlight_phone"] = {
    label = "Green Light Phone",
    weight = 10,
    stack = false,
},

["green_phone"] = {
    label = "Green Phone",
    weight = 10,
    stack = false,
},

["white_phone"] = {
    label = "White Phone",
    weight = 10,
    stack = false,
},

["wet_black_phone"] = {
    label = "Wet Black Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_blue_phone"] = {
    label = "Wet Blue Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_classic_phone"] = {
    label = "Wet Classic Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_gold_phone"] = {
    label = "Wet Gold Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_greenlight_phone"] = {
    label = "Wet Green Light Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_green_phone"] = {
    label = "Wet Green Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_phone"] = {
    label = "Wet Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_pink_phone"] = {
    label = "Wet Pink Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_red_phone"] = {
    label = "Wet Red Phone",
    weight = 10,
    stack = true,
    close = true,
},

["wet_white_phone"] = {
    label = "Wet White Phone",
    weight = 10,
    stack = true,
    close = true,
},

["powerbank"] = {
    label = "Power Bank",
    weight = 10,
    stack = true,
    close = true,
},

["phone_module"] = {
    label = "Phone Module",
    weight = 10,
    stack = true,
    close = true,
},
Items for esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
    ('classic_phone', 'Classic Phone', 10),
    ('black_phone', 'Black Phone', 10),
    ('blue_phone', 'Blue Phone', 10),
    ('gold_phone', 'Gold Phone', 10),
    ('red_phone', 'Red Phone', 10),
    ('green_phone', 'Green Phone', 10),
    ('greenlight_phone', 'Green Light Phone', 10),
    ('pink_phone', 'Pink Phone', 10),
    ('white_phone', 'White Phone', 10),
    ('wet_classic_phone', 'Wet Classic Phone', 10),
    ('wet_black_phone', 'Wet Black Phone', 10),
    ('wet_blue_phone', 'Wet Blue Phone', 10),
    ('wet_gold_phone', 'Wet Gold Phone', 10),
    ('wet_red_phone', 'Wet Red Phone', 10),
    ('wet_green_phone', 'Wet Green Phone', 10),
    ('wet_greenlight_phone', 'Wet Green Light Phone', 10),
    ('wet_pink_phone', 'Wet Pink Phone', 10),
    ('wet_white_phone', 'Wet White Phone', 10),
    ('phone_module', 'Phone Module', 10),
    ('powerbank', 'Power Bank', 10)
;

Voice system & configuration

Very important step, since without it, we will never be able to talk on the phone with other players and there could even be critical errors in your server.

In case your voice is not working or you use a custom one, you can access client/custom/misc/calls.lua or server/custom/misc/calls.lua to add or modify the existing ones, since the code of the calls is completely open source.

The voice is your script to be able to communicate between players by voice within your server, examples such as pma-voice, mumble-voice, etc... You can go directly to config.lua and edit the following configuration to be able to run your voice by default.

In Config.VoiceScriptName remember to set the name of the voice system folder you use.

--[[
    It is very important that you choose the name of your script and what voice script you use on your server.
    If your voice system does not appear here, you can configure in config_calls_client and config_calls_server

    'pma'     Most Recommended script `https://github.com/AvarianKnight/pma-voice`
    'mumble'  Deprecated script `https://github.com/FrazzIe/mumble-voip-fivem`
    'toko'   `https://tokovoip.vip/`
    'salty'  `https://github.com/v10networkscom/saltychat-fivem` `https://gaming.v10networks.com/SaltyChat`
]]

Config.Voice = 'pma'

-- That is only to verify that your script is started, it is necessary that you put the name of the folder of your script
Config.VoiceScriptName = 'pma-voice'

Photos, videos & webhooks

Do not run the asset or open a ticket without first completing this step.

Due to the new terms of Discord, many servers will no longer be able to use the webhooks that were usually used, so we recommend using fivemanage.com, within the following sliding box, you will find a guide on how to create the token and use it. of the.

Option via fivemanage.com

Thanks to the new collaboration with fivemanage.com, we can now use this private service to upload images, videos or audios. With this system we can do these actions incredibly quickly.

In order to upload the files through fivemanage.com, we will have to register on the website and generate a token, which we will place in the Config.Webhook of our Smartphone or Smartphone PRO.

We have an exclusive video on how to generate a token and integrate it by clicking here.

Option via webhook (Not working at this time)

The main dependency for photographs and videos is the use of webhooks, which is fully explained in the Webhhook System post.

To add the webhooks to this asset, we will have to go to qs-smartphone-pro/server/custom/webhooks, there we will find the configurable ones to add the webhooks.

If you skip this step, you will not be able to take photos or videos on the phone, avoid skipping this step before opening a ticket in the community.


Basic asset configuration

We do not recommend editing frameworks unnecessarily, since almost all assets depend exclusively on your framework and exports on the name of your framework. Otherwise and if you edited your framework, read these steps carefully.

If you still require more open codes for the configuration, you can check within client/custom and server/custom to adapt the asset to your personal taste.

Please expand each part to see information about the configuration of the asset, this way you will understand the general operation of the asset on the framework and editable files side.

Basic framework configuration

The asset will work automatically if your framework is called es_extended or qb-core, it will automatically detect if any of them are started. In case your framework has been renamed, you can modify it in config.lua to edit the name of your framework.

Advanced framework configuration

If your framework is completely modified, both in events and name, you should access client/custom/framework or server/custom/framework to adapt the native events of your framework to the codes you have created. If this step doesn't work, we ask that you ask your framework modifier or trusted developer for help.

More general settings

This asset contains multiple configurations within the config folder. But you can also access more open source and configurations within client/custom or server/custom. We do not recommend using these configurations if you do not have the basics of programming.


Last updated