-
-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] - es_extended- Default Spawn Random Coords problem #1345
Comments
Send me your config.lua in es_extended and also check if you have a default value set on |
with our correction it works now but there remains a problem, as this is random it is possible that a player spawns in the same place as another |
Hi! Exactly because it can happen randomly that the two numbers are entered twice, such a solution is not integrated in es_extended to always have a different number. However, you should check your user table in the database to see if position is not set by default because if it is, it won't use this random coordinate logic. |
@DARKAOFF Hi! Do you always spawn there or is there a case where you spawn somewhere else? Because if you have few coordinates you might get the same coordinate every time during testing, it's not guaranteed that math.random will be random in the current implementation, so it might be the same coordinate twice or three times or x times depending on the length of the table. It might be worth trying with 8-10 coordinates to see what happens. |
Hi! @DARKAOFF The fix will be available soon on the main branch. Thanks for your patience. |
Esx/fivem last version
Es_extended
the default spawn configuration of players at creation does not work badly several positions configure, the players all spawn in the same place
The text was updated successfully, but these errors were encountered: