qbcore-framework / qb-radialmenu

Radial Menu Used With QB-Core :arrows_counterclockwise:
GNU General Public License v3.0
32 stars 258 forks source link

Fix "flip vehicle" not working #130

Closed NylanderrDK closed 2 years ago

NylanderrDK commented 2 years ago

Describe Pull request We received a bug report that the "flip vehicle" option weren't working, and I looked into it. It wasn't working with the previous function for getting the vehicle, and I replaced it to get the vehicle the ped is in - and now it's working. So it's basically fixing a function not working.

Questions (please complete the following information):

tom-osborne commented 2 years ago

The flip vehicle option works fine. You must be stood outside the vehicle, stood close to it and facing it. Then it works. If you are not looking at it, the raycast won't find the vehicle.

tom-osborne commented 2 years ago

Video demonstration: https://medal.tv/games/gta-v/clips/z7AleoJs4NiEP/d1337b9PIKPM?invite=cr-MSx5N1ksMTkwOTE1ODgs