💡Installation
Installation guide of Wallet System V2 System.
Step 1: Move resource
Extract the zip you downloaded from cfx.re portal and place the stg-walletv2 folder inside the [STG] folder in your resources directory.
Step 2: Add Items
ℹ️ it works with all inventories, I’ve just included a few examples.
🖼️ You can find the item images inside the item-images folder located in the [SETUP] directory.
INSERT INTO items (name, label)
VALUES
('black_wallet', 'Wallet'),
('brown_wallet', 'Wallet'),
('purple_wallet', 'Wallet');black_wallet = { name = 'black_wallet', label = 'Wallet', weight = 0, type = 'item', image = 'black_wallet.png', unique = true, useable = true, shouldClose = true, description = 'Wallet System' },
purple_wallet = { name = 'purple_wallet', label = 'Wallet', weight = 0, type = 'item', image = 'purple_wallet.png', unique = true, useable = true, shouldClose = true, description = 'Wallet System' },
brown_wallet = { name = 'brown_wallet', label = 'Wallet', weight = 0, type = 'item', image = 'brown_wallet.png', unique = true, useable = true, shouldClose = true, description = 'Wallet System' },["black_wallet"] = {
label = "Wallet",
weight = 0,
stack = false,
close = true,
},
["purple_wallet"] = {
label = "Wallet",
weight = 0,
stack = false,
close = true,
},
["brown_wallet"] = {
label = "Wallet",
weight = 0,
stack = false,
close = true,
},Step 3: Install SQL
Perform the installation of stg_wallet.sql in the [SETUP] directory.
Step 4: Install stg_lib
You can download stg_lib here and read the installation guide here.
Step 5: Start Script
Start [STG] in server.cfg.
For the script to work properly, it would be better to place this at the very bottom of the scripts that are started.
ensure [STG]Last updated