View Code? Open in Web Editor
NEW
This project forked from baziforyou/polysafezone
An enhanced version of a SafeZone possible to have a zone with different shapes with PolyZone script
polysafezone's Introduction
- Can have zones with different shapes
- Can whitelist job with minimum rank per zones
- Can combo zones
- Don't use any helper for PolyZone
- Standalone it doesn't use any function from anywhere
- Can set job and grade with export if you are not using es_extended
- Optimize and get low usage (0.01 ~ 0.02 on idle if you don't turn any debug on)
- Clean coding
Video
- Add this in your
server.cfg
in the following order:
- Please report any issues you have in the GitHub Issues
- You can use
/pzcreate poly
and make zone and copy coords from polyzone_created_zones.txt
- Also you can use this
website
for making zones and copy the coords
Export |
Description |
Parameter(s) |
Return type |
InSafeZone |
Return is in SafeZone or no |
Nothing |
true or false or nil |
SafeZoneName |
Return is player SafeZone name |
Nothing |
string |
CanAttackInSafeZone |
Return player is whitelisted to attack in SafeZone or no |
Nothing |
true or false or nil |
SetJobAndGrade |
Set player current job and grade |
job, grade |
Nothing |
polysafezone's People
Contributors