1. Download your resource from FiveM's Keymaster.
2. Unzip fs_trapphone.zip folder and place it into your resource folder.
-- Run Sql by selecting ur database
UPDATE INTO `items` (`name`, `label`, `weight`) VALUES
('fs_trapphone', 'Trap Phone', 30)
;
-- add item into qb_core items file under last item
['fs_trapphone'] = {
['name'] = 'fs_trapphone',
['label'] = 'Trap Phone',
['weight'] = 100,
['type'] = 'item',
['image'] = 'fs_trapphone.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Secure Phone for Drug sell'
}
-- add item into ox_inventory/shared/items.lua under last item
["fs_trapphone"] = {
label = "Trap Phone",
weight = 30,
stack = true,
close = true,
description = 'Secure Phone for Drug sell'
},
-- add item into ur inventory at the bottom of ur last added item
['fs_trapphone'] = {
['name'] = 'fs_trapphone',
['label'] = 'Trap Phone',
['weight'] = 100,
['type'] = 'item',
['image'] = 'fs_trapphone.png',
['unique'] = true,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Secure Phone for Drug sell'
}
* You must go through all configuration options & settings in shared/config.lua
* You must setup webhook in discord and put webhook in shared/webhooks.lua file
Congratulations, you've successfully installed the resource. Restart the server and you will be all set.