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

[BUG] Server owners Seatbelt doesnt work when pressing 'b' #413

Closed
daf4ever opened this issue Oct 9, 2023 · 4 comments
Closed

[BUG] Server owners Seatbelt doesnt work when pressing 'b' #413

daf4ever opened this issue Oct 9, 2023 · 4 comments
Labels
bug Something isn't working Stale Closed Stale

Comments

@daf4ever
Copy link

daf4ever commented Oct 9, 2023

Describe the bug
Server owners Seatbelt doesnt work. See BUG #298

To Reproduce
If you are server owner the seatbelt doesn't work. You can hear the clicking sound but the light doesnt go away and when you drive into something you instantly fly out of the window. It doesnt happen to anyone else but the server owner.

Expected behavior
That the seatbelt works for Server Owners

Questions (please complete the following information):
When you last updated:

  • October 1st 2023

Are you using custom resource? which ones?

  • I installed QB-Core where this resource was added

Additional context
If I type: /toggleseatbelt it works but when pressing 'b' it doesnt. For example it is annoying to write hundred and twenty times "/toggleseatbelt" in 1 hour when you do a delivery job.

@KingRyuShin
Copy link

You need the set the ejection event in a thread for the script to work

Uploading Screenshot_20231009_160709_Samsung Internet.jpg…

@daf4ever
Copy link
Author

daf4ever commented Oct 10, 2023

Hi KingRyuShin. Can you elaborate? What do you mean with "ejection event in a thread". I downloaded the setup for a QBCore Server and smallresources automatically starts. In config.lua for smallresources I don't find anything with "ejection".
Other players and myself get ejected. Other players can toggle their seatbelt and it works. Myself, I hear the 'clicking' sound that the seatbelt is toggled, but the icon doesnt go away nor am I wearing one.

@Maxhero54
Copy link

my server also ---- after crash Eject From Vehicle dont working #415

Copy link

This issue has had 60 days of inactivity & will close within 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale Closed Stale
Projects
None yet
Development

No branches or pull requests

3 participants