πŸ–₯️Server Exports

IsPveZone

This export calculate if the player is inside a PvE zone.

-- coords must be a vector3 object about the coordenates to check
exports['p6_zones_zombie_waves']:IsPveZone(coords)

Output: boolean, vector4

  • boolean (true/false) that indicates if the player is inside a PvE zone.

  • vector4 contains the PvE zone coordinates and radius specified in the config file for this PvE zone.

Last updated