Fake Number

Remember that the DLC & Addons are obtained in the post of the same asset, there are the direct links, you must also be the buyer, otherwise you will not be able to obtain them.

Welcome to the documentation on DLC & Addons, in this section we will make a general explanation about Fake Number, its installation or basic guide.


Introduction

Quasar Racing is an exclusive DLC for Quasar Smartphone, this DLC will add a new application to your phone, which is inspired by QB/NP racing, it allows you to create races through a whitelist or even play races with your friends.


Asset positioning

The DLC & Addons for Quasar Smartphone always start below the Smartphone folder, for this we will use the following example.

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

-- The smartphone should be executed above
ensure [smartphone]

-- DLC & Addons always below smartphone
ensure [addons]

Database

This DLC depends on a database which we will run using this sql.

DROP TABLE IF EXISTS `phone_numbers`;
CREATE TABLE `phone_numbers` (
	`identifier` VARCHAR(200) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
	`data` TEXT NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`defaultNumber` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
	PRIMARY KEY (`identifier`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
;

Items

If your inventory is not listed, you can create your own item using sim_card.

This asset depends on the item sim_card, which we will add to our inventory or database.

Items for qs-inventory
['sim_card'] = {
    ['name'] = 'sim_card',
    ['label'] = 'SIM Card',
    ['weight'] = 1,
    ['type'] = 'item',
    ['image'] = 'sim_card.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'What is this number?'
},
Items for esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
	('sim_card', 'Sim Card', -1, 0, 1)
;

Last updated