client.lua
Documentation for client.lua Configuration
Ore Spawn Distance
Description: Sets the distance from the player where ores will spawn.
Example: A value of
150.0
means ores can spawn within a 150-meter radius of the player.
Drilling Time
Description: Specifies the time (in milliseconds) required to drill an ore.
Example:
8000
equals 8 seconds of drilling time.
Smelting Time
Description: Defines the time (in milliseconds) required to smelt ore.
Example:
30000
means it will take 30 seconds to smelt ores.
Main Ped Configuration
Model: Ped model used for the Miner NPC (
s_m_y_construct_02
).Coordinates: Position of the Miner NPC on the map.
Marker Details:
Sprite:
527
Color:
5
Scale:
0.8
Name: Displayed as "Miner Job" when interacting.
Smelting Configuration
Description: Defines the location and appearance of the smelting area.
Coordinates:
(1084.6836, -2002.9283, 31.3806)
Marker Details:
Sprite:
618
Color:
5
Scale:
0.8
Name: Displayed as "Smelting" when interacting.
Selling Configuration
Description: Defines the location and appearance of the selling point.
Coordinates:
(-624.5422, -231.0968, 38.0570)
Marker Details:
Sprite:
617
Color:
5
Scale:
0.8
Name: Displayed as "Selling" when interacting.
Clothing Configuration
Description: Allows customization of up to 3 clothing sets per gender.
Images: Displays clothing preview in the menu.
Clothes Data: Defines the clothing parts (e.g., torso, t-shirt, pants).
Vehicle Configuration
If you want to turn off the work vehicle, use the example at the very top
Description: Configures available rental vehicles.
Model: Vehicle model name.
Price: Cost of renting the vehicle.
Image: URL for the vehicle image displayed in the menu.
Vehicle Spawn Points
Description: Specifies the spawn locations for rented vehicles.
Coordinates: Each
vec4
includes X, Y, Z position, and heading.
Notification Types
Description: Custom icons for different types of notifications.
Types:
info
,success
,error
HUD Placement
Description: Sets the position of the HUD on the screen.
Options:
"bottom-left"
,"bottom-right"
,"top-right"
,"top-left"
Last updated