Skip to content
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

custom gamemode: flying by default issue. #364

Closed
RestartFU opened this issue Dec 17, 2021 · 4 comments
Closed

custom gamemode: flying by default issue. #364

RestartFU opened this issue Dec 17, 2021 · 4 comments

Comments

@RestartFU
Copy link
Contributor

RestartFU commented Dec 17, 2021

so here's my code:
image
as you can see, I stop the flying of the player, but for some reasons, the players still fly when they connect, even after apparently stopping the flying.

@T14Raptor
Copy link
Member

This is intentional, StopFlying() stops the player from flying while they are flying, they’ll still have the permission to fly afterwards.

@RestartFU
Copy link
Contributor Author

This is intentional, StopFlying() stops the player from flying while they are flying, they’ll still have the permission to fly afterwards.

My intention here is to give them the ability to fly, but I don't want them to be flying right away when they get the gamemode, and the StopFlying() method doesn't stop the flying.

@T14Raptor
Copy link
Member

I believe that’s because you have HasCollision() returning false

@RestartFU
Copy link
Contributor Author

I believe that’s because you have HasCollision() returning false

yep, that was the issue, sorry for bothering and thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants