Comments (8)
Are you entering and exiting the zone with the player? The onPlayerInOut callback doesn't trigger continuously, it only triggers if you go from outside the zone to in it, or vice versa. If you are and it's still not working, do you have overlapping zones? Aka multiple zones in the same place, or one large zone with smaller ones inside of it? If so, you may need to use the exhaustive helpers since onPlayerInOut stops after it finds the first zone you are inside of (see https://github.com/mkafrin/PolyZone/wiki/ComboZone#exhaustive-helpers).
Also, are you getting any errors (from your script or PolyZone) in the console?
from polyzone.
hey
- yes i am entering and exiting the zone
- no there are no overlapping zones at all
- sadly there are no errors
from polyzone.
Hmm given that, it'd be hard for me to determine what's going wrong without a reproduction of the issue. Can you take your current code and shorten it to a simple and repeatable reproduction of the issue and post that here? Then I can look into why it's happening.
from polyzone.
Hi, i have the same thing while drawing a 3d on a separate thread on function ComboZone:new(zones, options)
idk why it happend but all ComboZone stop working and my text work pretty fine ! To fix it i need to reinstall my server cause even on removing my function call on the new function it still not working then even after reboot.
Like ali said there is no errors
from polyzone.
Code here to reproduce https://gist.github.com/PolEpie/ef4cefd55dcaa3888d91ee715da5e79f
from polyzone.
This doesn't seem to be a PolyZone issue. Adding a call to your own code to PolyZone's files then it breaking seems to point to your own code having a bug. Closing this for now.
from polyzone.
The fact is that is permanently broke poly zone with just one line of code and then it still broke even If i delete the code so there might be an issue somewhere. Iām new in five m coding so if you can help me to understand why ? Is there a thread limit ?
from polyzone.
I have no idea why it might be breaking and I'm sorry but I frankly don't have the time to debug other resources code. You can try asking in help channels in the fivem discord or forums. If I were you, I'd test your code (and attempt to fix it) outside the context of PolyZone, since PolyZone breaking is just a symptom of your code that you inserted into it breaking.
from polyzone.
Related Issues (20)
- ClearAreaOfPeds with PolyZone HOT 1
- Debug HOT 6
- Polyzones linking together HOT 1
- 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
- pzdebug command HOT 5
- Regarding Issue #90 HOT 2
- pzcreate box HOT 4
- Attempt to index a nil value HOT 1
- attempt to index a nil value
- polyzoones HOT 1
- C#
- REDM BlockWeaponThisFrame - 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.