ProjectFairnessLabs / PF-vMenu

PF-vMenu is a custom server sided trainer/menu, built using MenuAPI. It has full permissions support, so the server owner can decide who's allowed to do what.
https://discord.gg/D7cVc8TzPN
18 stars 11 forks source link

Vehicles Spawning on Wheels #33

Open txdaniel55 opened 1 year ago

txdaniel55 commented 1 year ago

We have a few trailers that do not spawn on their wheels, upside down actually. Would be a great addition to check if a vehicle is on all wheels when being spawned in, and if not rotating it to the correct direction. Either for all vehicles or a whitelist for problematic ones.

https://www.gta5-mods.com/vehicles/albany-white-liner-add-on

https://www.gta5-mods.com/vehicles/brute-camp-trailer-addon

Ex: : if not IsVehicleOnAllWheels(vehicle) then local carCoords = GetEntityRotation(vehicle, 2) Citizen.Wait(500) SetEntityRotation(vehicle, carCoords[1], 0, carCoords[3], 2, true)

end

VermilionReaper commented 1 year ago

We will check this one out soon.

tris-ten commented 11 months ago

i believe that this issue is relating to the vehicles.meta itself and not vmenu.