Docs/Library/Modules

Modules

Library
Updated 2 months ago · v1.3.7

dirk_lib modules are lazy-loaded — they're only initialised when you first access them. You can optionally pre-load specific modules in your fxmanifest.lua:

lua
dirk_libs {
  'math',
  'objects',
  'zones',
}

Otherwise, just use them directly (e.g. lib.zones.register(...)) and they'll load automatically on first call.

Was this page helpful?
This page was last updated on 12 March 2026
DIRKSCRIPTS
All you need for your FiveM server.10% off your first order

Unsubscribe any time.

Copyright © 2026 DirkScripts. Not affiliated with or endorsed by Rockstar North or Take-Two Interactive.