Comments (1)
This is a lua resource, so the only way to integrate with it using csharp would be events/exports. Unfortunately, the metatable that contains the methods on a PolyZone (isInside, onPointInOut, etc.) is dropped if you try to send a zone to another resource using exports.
Therefore, most people who want to use PolyZone with a non-lua language generally make use of a PolyZone manager that they make in lua and has exports for adding new zones that all get added to a central ComboZone that emits events when the player enters and leaves a zone. That way you never have to manually interact with zones and can just listen to the enter and leave events. That would be my suggestion personally.
from polyzone.
Related Issues (20)
- I don't understand. HOT 3
- When trying to use qb-target in server I keep getting this error HOT 1
- Weird polyzone bug HOT 1
- QUESTION HOT 2
- Polyzones linking together HOT 1
- Combo onPlayerInOut method not getting triggered HOT 8
- Not an Issue, Vehicle delete outside of Zone
- [QUESTION] Is there any way to edit inside the zone? HOT 1
- scroll down not working when working on zone
- [Potential Bug?] HOT 2
- Warning: Passed points table with less than 3 points to PolyZone:Create () {name=test}
- [HELP] Bug or misunderstanding HOT 1
- Need help on code. HOT 2
- Add support for Javascript or add exports HOT 4
- Problem in isPointInside when use circlezone HOT 1
- pzdebug command HOT 5
- Regarding Issue #90 HOT 2
- pzcreate box HOT 4
- Attempt to index a nil value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polyzone.