Installation

Install Tree Generator: start ox_lib first, add ensure fz-foliage to server.cfg and allow admins to create zones with one ACE line.

On this page

Requirements

  • ox_lib, started before this resource.
  • Optional: a target script for felling trees and picking up logs. ox_target, qb-target, qtarget and fivem-target are picked up automatically. Without one, players look at a tree and press E.

PolyZone and meta_libs are not needed (older versions used them).

Steps

  1. Drop the fz-foliage folder into your resources folder.
  2. Add it to server.cfg after ox_lib (and after your target script, if you use one):
cfg
ensure ox_lib
ensure ox_target   # optional
ensure fz-foliage
  1. Allow the people who may create zones. Only they can open the editor and save zones:
cfg
add_ace group.admin command.treezone allow
  1. Restart the server, then type /treezone in game.

Still stuck?Ask on our Discord