βš™οΈInstallation

First, we want to let you know that our script only supports the latest versions of the two most popular frameworks. While it might work on older versions, we don't provide support for them as our development is focused on the latest stable releases.

Make sure your server.cfg contain this line:

For ESX:

ensure es_extended
ensure ox_lib
ensure ox_target
ensure p6_zones

For QBCore:

ensure qb-core
ensure ox_lib
ensure qb-target
ensure p6_zones

Allowing Needs

To be able to use the "AllowNeeds" function in safe zones, you need to configure your needs mod using the exports or to use our "P6 Additional Needs" mod.

Allowing emotes

To be able to use the "AllowedEmotes" function in safe zones, you need to configure your emotes mod using the exports. We provide the following instructions for configuring the "dpemotes" mod:

dpemotes

  1. Open the file client/Emote.lua

  2. Search the line: function OnEmotePlay(EmoteName) and insert the next line after it: if not exports["p6_zones"]:SafeAllowEmote(GetEntityCoords(PlayerPedId()), EmoteName[3]) then return end

For other emote mods the process should be similar.

Last updated