fivem icon indicating copy to clipboard operation
fivem copied to clipboard

You can't interact with vehicles if you walk away and come back

Open Bigdadysaaa opened this issue 1 year ago • 2 comments

What happened?

For the past few days, we've encountered a bug on the server, even though we haven't made any recent changes.

We've received numerous reports from players indicating that they are unable to interact properly with their vehicles, specifically when trying to open or close the doors.

Upon investigation, I noticed that if a player moves away from the vehicle and then returns, the vehicle won't allow the doors to be opened if they were already open.

https://streamable.com/vejnqq

Expected result

to be able to open the car.

Reproduction steps

  1. You take out a car.
  2. You move a long distance away and then return to the car.
  3. You try to open the car, but it won't let you.

Importancy

Unknown

Area(s)

FiveM

Specific version(s)

2802

Additional information

I’ve tried doing it on a server with just myself and it works, but if there are more players on the server, the error occurs. It’s possible that when you move away, the entity gets assigned to another player.

Bigdadysaaa avatar Aug 28 '24 23:08 Bigdadysaaa

Hello looks like a problem with your script, can you provide a small resource so we can test?

spacevx avatar Aug 28 '24 23:08 spacevx