Installation

Welcome to the Quasar Valentine's Day Quotes 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.

For compatibility and security reasons, we request that WinSCP be used mandatorily to manage the script files instead of FileZilla. WinSCP offers greater stability and better integration with our work environment, ensuring a more efficient handling of assets and minimizing issues related to file transfers. We appreciate your cooperation in ensuring a better experience for everyone.

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.

FiveM Asset Escrow System

Database

This asset has a very simple database, which we will install before starting the asset.

CREATE TABLE `valentine_users` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `identifier` VARCHAR(90) NOT NULL DEFAULT '0' COLLATE 'latin1_swedish_ci',
    `name` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'latin1_swedish_ci',
    `surname` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'latin1_swedish_ci',
    `gender` VARCHAR(10) NOT NULL DEFAULT '0' COLLATE 'latin1_swedish_ci',
    `interest` VARCHAR(10) NOT NULL DEFAULT '0' COLLATE 'latin1_swedish_ci',
    `requests` TEXT NULL DEFAULT NULL COLLATE 'latin1_swedish_ci',
    PRIMARY KEY (`id`) USING BTREE
) COLLATE = 'latin1_swedish_ci' ENGINE = InnoDB;

Items

This system includes areas with drug collection, which will give us certain items. Here we will add the items to our inventory to be able to execute this function.

Items for qs-inventory
["qs_ring"] = {
    ["name"] = "qs_ring",
    ["label"] = "Wedding ring",
    ["weight"] = 15,
    ["type"] = "item",
    ["image"] = "qs_ring.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Beautiful wedding ring, will you marry me?"
},

["qs_valentines_rose"] = {
    ["name"] = "qs_valentines_rose",
    ["label"] = "Bouquet of flowers",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "qs_valentines_rose.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "Love is so beautiful, I remember when I was in love, what a disappointment..."
},
Items for qb-inventory
qs_ring			                     = {['name'] = 'qs_ring', 			  	['label'] = 'Wedding ring', 			['weight'] = 15, 		['type'] = 'item', 		['image'] = 'qs_ring.png', 		    ['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Beautiful wedding ring, will you marry me?'},
qs_valentines_rose 			     = {['name'] = 'qs_valentines_rose', 		['label'] = 'Bouquet of flowers', 		['weight'] = 100, 		['type'] = 'item', 		['image'] = 'qs_valentines_rose.png', 	    ['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Love is so beautiful, I remember when I was in love, what a disappointment...'},
Items for esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
	('qs_ring', 'Wedding ring', 1),
	('qs_valentines_rose', 'Bouquet of flowers', 1)
;

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