buildingCompany

File: shared/config.lua β†’ Config.Company

Defines the gardener company β€” its name, NPC, map blip, job requirement, parking spots, vehicles, and equipment offsets.

Top-level fields

Key
Type
Description

name

string

Company display name.

ped

table

NPC (ped) configuration.

blip

table

Map blip settings.

neededJob

table

Job restriction settings.

parkings

table

List of parking spot positions.

vehicles

table

Available company vehicles.

vehicleEquipmentOffsets

table

Equipment attachment offsets on the vehicle.


ped

Key
Type
Description

coords

vec4

World position and heading of the NPC.

model

string

Ped model name.

anim

table

Idle animation (dict + name).

blip

Key
Type
Description

sprite

number

Blip sprite ID.

color

number

Blip color ID.

scale

number

Blip size on the map.

label

string

Blip label text.

neededJob

Key
Type
Description

enabled

boolean

Whether a specific job is required.

jobName

string

Name of the required job (e.g. 'gardener').

parkings

An array of { coords = vec4(...) } entries. Each entry defines a parking spot where company vehicles can spawn.

vehicles

Key
Type
Description

model

string

Vehicle spawn model name.

label

string

Display name in the UI.

vehicleEquipmentOffsets

Defines the attachment position and rotation for each piece of equipment mounted on the vehicle.

Key
Fields
Description

mower

x, y, z, rx, ry, rz

Manual push mower offset.

mower_tractor

x, y, z, rx, ry, rz

Ride-on tractor offset (on the roof).

hedge

x, y, z, rx, ry, rz

Hedge trimmer offset.

flowers

x, y, z, rx, ry, rz

Flower planting supplies offset.

wateringcan

x, y, z, rx, ry, rz

Watering can offset.

flowerpot

x, y, z, rx, ry, rz

Flower pot offset.

Example