mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
lib.zones.new should take a single argument containing all data related to the new zone, then append new fields to the table. No need for a distance check and 'nearby', instead check if player is inside the polygon. Use a function ref instead of closures for debug (drawPolygon).
1.6 KiB
1.6 KiB