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

Add a hook to player car switch seat event #12

Open
2 tasks
zpl-zak opened this issue Aug 22, 2022 · 0 comments
Open
2 tasks

Add a hook to player car switch seat event #12

zpl-zak opened this issue Aug 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request priority:high

Comments

@zpl-zak
Copy link
Member

zpl-zak commented Aug 22, 2022

Introduction

The player automatically enters a driver's seat once it is no longer occupied. This is an issue since we cannot intercept that change; therefore, a desync happens as for other clients, the remote player remains in the passenger seat.

A similar issue happens when the player enters a car via the passenger seat.

We need to find a way to ensure we can either block or intercept a seat change action and then find an approach to change seats programmatically.

  • block game from automatically entering a driver's seat
  • find a way to switch seats programmatically

Scope

This issue only covers the game reversing / playground part, not the network-related one.

@zpl-zak zpl-zak added the enhancement New feature or request label Aug 22, 2022
@zpl-zak zpl-zak moved this to In Progress in MafiaHub Dashboard Aug 22, 2022
@zpl-zak zpl-zak removed the status in MafiaHub Dashboard Jan 28, 2024
@zpl-zak zpl-zak added this to the racing gamemode milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high
Projects
Status: No status
Development

No branches or pull requests

2 participants