🔨Installation
This installation guide primarily focuses on the qb-core framework; however, please remember that the GFX Weed Script is also fully compatible with the ESX framework.
If you encounter any errors or difficulties during setup or usage, don’t hesitate to reach out to us. You can find our Discord link at the bottom of the installation document.
Installation Steps
1. Add Script to Server
Place the following folders into your
resources
directory:gfx_weed
gfx_weed_props
Add the following lines to your
server.cfg
in this order:
2. Add Items to QB-Core
Open the
qb-core/shared/items.lua
file.Add the following item rows to the items array:
3. Add Item Images
Locate your qb-
inventory/html/images/
folder.Add the following images (provided in the package) to the folder:
weed_skunk_seed.png
crack_baggy.png
rolling_paper.png
joint.png
4. Customize Configurations
Client Configuration (client_config.lua
)
Adjust the theme colors, table settings, and plant growth parameters to fit your server’s needs.
Server Configuration (server_config.lua
)
Update the Discord bot token if you are using Discord profile images for leaderboards.
Adjust item names or ped models based on your preferences.
5. Test the Script
Restart the server.
Verify that:
Items are available in the inventory.
Props spawn correctly.
Tables function as intended.
Weed growing, processing, and selling systems work seamlessly.
Dependencies
Ensure the following are installed and properly configured:
QB-Core Framework (or compatible ESX framework)
A notification system for in-game messages (optional but recommended).
Troubleshooting
Missing Items in Inventory: Ensure items are added to
qb-core/shared/items.lua
.Props Not Loading: Confirm
gfx_weed_props
is started beforegfx_weed
.Notification Errors: Update the notification function in the config files to your custom notification system.
For further assistance, contact the GFX Team! https://discord.gg/gfxdevelopment
Last updated