ND-Framework / ND_Core

ND Framework core
https://discord.gg/nC82d8zvjM
GNU General Public License v3.0
54 stars 36 forks source link

bug(?) with randomly unlocked vehicles #54

Closed realCallMeJ closed 9 months ago

realCallMeJ commented 9 months ago

Describe the bug when finding a randomly unlocked vehicle, you can enter, start, and drive it around, but once you exit the vehicle and re-enter, the engine will no longer start

To Reproduce

  1. set randomUnlockedVehicleChance to a number in the config
  2. find an unlocked vehicle and get in it
  3. drive, get out, get back in it
  4. you can no longer drive

Expected behavior im unsure about how this was intended to work, but my best guess would be either 1) you should be able to start the car back up 2) you shouldn't be able to start the car at all

video: https://medal.tv/games/gta-v/clips/1OlndZ-WBVJTHb/d1337mC4hrP5?invite=cr-MSx3ZW4sMzczNjk4LA

Andyyy7666 commented 9 months ago

In the video you shouldn't be able to drive the car since it's not hotwired and you don't have the keys. This bug is probably caused by how the check is done.

Andyyy7666 commented 9 months ago

fixed in last release