Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes GetTrunkSize Export #470

Closed
wants to merge 5 commits into from

Conversation

rhapidfyre
Copy link

Description

The export and local function "GetTrunkSize" returns a nil index when used. The problem is that [vehicleClass] is carried over from Config.TrunkSize into the new variable "trunkSize", which is not a valid index of the subtable.

This PR fixes that issue, corrects the lowercase "w", and also adds a default catch for a nil parameter.

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
    image

  • My code fits the style guidelines.

  • My PR fits the contribution guidelines.

@GhzGarage
Copy link
Member

Config.TrunkSpace = {

@amantu-qbit
Copy link
Contributor

@rhapidfyre update he branch Please

Copy link

This PR has had 60 days of inactivity & will close within 7 days

@github-actions github-actions bot added the Stale label Feb 24, 2024
@github-actions github-actions bot removed the Stale label Mar 1, 2024
Copy link

This PR has had 60 days of inactivity & will close within 7 days

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

Successfully merging this pull request may close these issues.

4 participants