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

Feature/item-vehicles-reorientation #1158

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

Cocodrulo
Copy link
Contributor

Description

This PR make to main changes to QBCore Shared:

  • shared/items.lua: Add default values to all items properties.
  • shared/vehicles.lua: Added VehicleHashes table to shared in order to simplify how to get vehicle model data.

To sum up, this PR try to assert some possible errors, remove some repetition in items properties and to simplify the indexing of vehicle models.

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

Cocodrulo and others added 24 commits April 18, 2024 13:52
…e) and added default value in case a property does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants