Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

House Garage Heading Incorrect #118

Open
real-general-iroh opened this issue Jun 14, 2023 · 1 comment
Open

House Garage Heading Incorrect #118

real-general-iroh opened this issue Jun 14, 2023 · 1 comment

Comments

@real-general-iroh
Copy link

Issue:

function GetSpawnLocationAndHeading(garage, garageType, parkingSpots, vehicle, spawnDistance)
    local location
    local heading
    local closestDistance = -1

    if garageType == "house" then
        location = garage.takeVehicle
        heading = garage.takeVehicle.h -- yes its 'h' not 'w'...

The comment stating "yes its 'h' not 'w'..." is incorrect. The heading for house garages in qb-houses is indeed garage.takeVehicle.w

After changing it from 'h' to 'w', the vehicle spawned with the correct heading.

@JonasDev17
Copy link
Owner

JonasDev17 commented Jun 23, 2023

they must have changed it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants