Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Civilian Job Scripts

ESX Lumberjack

Woodcutter job

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Version
1.4.2
Dependencies
cutted_woodpackaged_plankmysql-asyncesx_skinskinchangeresx_ambulancejob
File size
8.3 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Woodcutter Job is a lumberjack job for ESX: players with the lumberjack job drive the company truck to the forest near Paleto, fell ten trees, saw and pack the wood into planks and sell them.

Features

  • Locker room with work clothes and everyday clothes; going on duty unlocks the truck and the work points
  • Company truck (MULE, plate LEGNA) from the depot, with a separate point to park it again
  • Ten cedar trees spawn at the tree area; each one is cut with a hatchet animation and tips over, then gives wood (100 per round, Config.Wood)
  • Sawing point turns 100 wood into 100 cutted_wood, the plank point turns 100 cutted_wood into 100 packaged_plank with a box carry animation; each item is capped at 250
  • Sell point pays 18 per plank into the bank account after a 10-second sale
  • Map blips for every job point, placed from Config.Zones in config.lua; the work markers use the same coordinates, set in client/main.lua
  • On-screen texts and menus in Italian

Requirements

  • ESX (es_extended) with a lumberjack job and the items wood, cutted_wood and packaged_plank (no SQL file included)
  • mysql-async, esx_skin and skinchanger (clothes), esx_ambulancejob (its getItemAmount callback is used for inventory checks)
  • A resource that handles the mt:missiontext event for the job messages (not included)
  • The job check also reads job2 (lumberjack2), which standard ESX does not have; remove that part in client/main.lua if needed

Installation

  • Copy esx_taglialegnasdr into your resources.
  • Add the job and the three items to your database.
  • Add ensure esx_taglialegnasdr to your server.cfg.
  • Set the wood amount and blip positions in config.lua; marker positions are in client/main.lua and the plank price (18) in server/main.lua.

Notes

  • The server events trust the client: the sale pays for the plank amount the client sends without checking the inventory. Review server/main.lua before using it on a live server.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • CodeM mTaxiJob — Advanced Taxi Script FiveM preview
    • ESX
    • QBCore
    Not for your framework

    CodeM mTaxiJob — Advanced Taxi Script

    CodeM

    $17.99$12.59
  • Electrician Job FiveM resource preview 2
    • ESX
    • QBCore
    Not for your framework

    Electrician Job

    tworst-script

    $23.00$16.10
  • TowTruck
    • ESX
    • QBCore
    Not for your framework

    0r TowTruck

    0Resmon

    $33.00$23.10
  • CodeM mHunting — Hunting & Wildlife System FiveM resource preview 2
    • ESX
    • QBCore
    Not for your framework

    CodeM mHunting — Hunting & Wildlife System

    CodeM

    $17.99$12.59
  • 0R Trucker FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    0R Trucker

    0Resmon

    $36.00$25.20
  • Dusa Driving School
    • ESX
    Not for your framework

    Dusa Driving School

    Dusa

    $31.00$21.70
  • FiveM Landscaping Job
    • ESX
    • QBCore
    Not for your framework

    Pickle's Landscaping Job

    Pickle Mods

    $31.00$21.70
  • [ESX/QB] VMS_tattooshop – ADVANCED TATTOO SHOPS FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    [ESX/QB] VMS_tattooshop - Advanced Tattoo Shops

    VMS

    $19.99$13.99