client.lua
Documentation for client.lua Configuration
Herbs Spawn Distance
Config.HerbsSpawnDistance = 45.0Description: Defines the maximum distance from the player within which herbs will spawn.
Example:
A value of 45.0 means herbs can spawn within a 45-meter radius of the player.
Clothing Configuration
Config.Clothing = {
["mp_m_freemode_01"] = {
{
img = "https://cfx-nui-devhub_herbalAlchemist/html/host/alchemist_m1.png",
clothes = {
torso = {95, 1},
tshirt = {15, 0},
pants = {90, 0},
boots = {63, 4},
gloves = {26, 0},
}
},
-- More male clothing sets here...
},
["mp_f_freemode_01"] = {
{
img = "https://cfx-nui-devhub_herbalAlchemist/html/host/alchemist_f1.png",
clothes = {
torso = {49, 1},
tshirt = {15, 0},
pants = {93, 2},
boots = {66, 4},
gloves = {20, 0},
}
},
-- More female clothing sets here...
}
}Description: Allows up to 3 clothing sets per gender. Each set includes a preview image and detailed outfit settings.
Parameters:
img: URL of the clothing preview image.clothes: Defines the outfit parts (e.g., torso, t-shirt, pants, etc.).
Vehicle Configuration
Description:
Configures up to two rental vehicles. If you prefer not to use vehicles at all, you can completely disable them by uncommenting the model = "none" block.
Details:
Model: The name of the vehicle model.
Price: Cost of renting the vehicle.
Image: URL for the vehicle's preview image displayed in the menu.
Disable Vehicles
Uncomment the following block:
This will remove vehicles from the system entirely.
Vehicle Spawn Points
Description: Defines the spawn points for rented vehicles. Each point includes coordinates (X, Y, Z) and a heading.
Example Point:
vec4(1537.0837, 2177.8159, 78.4643, 175.1745)
X:
1537.0837Y:
2177.8159Z:
78.4643Heading:
175.1745
Main Ped Configuration
Description: Defines the main NPC for the Herbal Alchemist job.
Details:
Model:
"s_m_m_cntrybar_01"Coordinates: NPC spawn location in
vec4format.Marker:
Sprite:
140Color:
5Scale:
0.8
Name: Displays as
"Herbal Alchemist Job"when interacting.
Alchemy Tables
Description: Defines the locations of alchemy tables for processing herbs.
Marker Details:
Sprite:
499Color:
5Scale:
0.8Name: Displays as
"# Alchemist Table"when interacting.
Delivery Points
Description: Lists delivery locations for transporting finished products.
Example Location:
vec3(2704.192383, 4330.427734, 45.852066)
X:
2704.192383Y:
4330.427734Z:
45.852066
Notification Types
Description: Specifies icons for different notification types.
Types:
Info: Displays general information.
Success: Shown after completing tasks.
Error: Alerts for failed actions.
HUD Placement
Description: Sets the position of the HUD on the screen.
Options:
"bottom-left""bottom-right""top-right""top-left"
Last updated