Skip to main content

Setup

PZFX is easy to use, you need only to import the lib

Getting Started

Extract the downloaded script into the resources folder of the server, and then add the following line to the server.cfg file, after ox-lib and es_extend

ensure pzfx

Import

To import the PZFX lib in your script you need to call the exports

PZFX = exports['pzfx']:InjectLib()

You can find the functions to call into the file test.lua. More details in the next sections