mkafrin / PolyZone

PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone
MIT License
204 stars 191 forks source link

Not an Issue, Vehicle delete outside of Zone #81

Closed Mackazzzx closed 1 year ago

Mackazzzx commented 1 year ago

In reverse to what is previously mentioned. Im wanting to find a way to auto delete vehicles if they are not on an allowlist which are spawned or attempted to be entred from outside of the set poly zone. I have been trying to work this out for a few days and keep failing each time. Currently the vehicles are blacklisted but i'd like them to be used within the polyzone registered only so there is no fears on unblacklisting them. Thankyou for any help!