Installation
Guide to install reFlow Trap Phone.
Download Resource
To get started first download your asset previously purchased from reflow-store.com (opens in a new tab) login into keymaster and you will find your resource under the option Granted Assets
Installation
Open the downloaded resource zip file and drag the folder into your servers resources folder
Starting Order
ensure reFlow-Bridge
ensure reFlow-DrugDealer
SQL
CREATE TABLE IF NOT EXISTS `reflow_dealerphone` (
`phone_id` varchar(64) NOT NULL,
`xp` int(11) DEFAULT 0,
`max_contacts` int(11) NOT NULL DEFAULT 10,
`contacts` longtext DEFAULT NULL,
`messages` longtext DEFAULT NULL,
`wallpaper` longtext DEFAULT NULL,
`notification` longtext DEFAULT 'default',
`notes` longtext DEFAULT NULL,
`emails` longtext DEFAULT NULL,
PRIMARY KEY (`phone_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci;
Add Items
qb-core/shared/items.lua
['dealerphone'] = {
['name'] = 'dealerphone',
['label'] = 'Old Phone',
['weight'] = 0,
['type'] = 'item',
['image'] = 'dealerphone.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = "An Old Phone, I wonder what it's for"
},
Add Images
qb-inventory/html/images/
Add Shop
⚠️
This step is only required for codem-inventory
codem-inventory/config/shops.lua
["bittersweet"] = {
label = "ShadyDealer",
job = 'all',
items = {
["1"] = { name = "dealerphone", price = 10 },
},
coords = vector3(48.8253, -1454.7623, 28.3109),
Blip = {
enable = false,
id = 480,
scale = 0.8,
color = 62,
},
}