Skip to content

Update config.lua#213

Open
zhivotnoya wants to merge 1 commit intoqbcore-framework:mainfrom
zhivotnoya:zhivotnoya-patch-1
Open

Update config.lua#213
zhivotnoya wants to merge 1 commit intoqbcore-framework:mainfrom
zhivotnoya:zhivotnoya-patch-1

Conversation

@zhivotnoya
Copy link

Changed Config.WeapDraw to be matched holster pairs.

Describe Pull request
First, make sure you've read and are following the contribution guidelines and style guide and your code reflects that.
Write up a clear and concise description of what your pull request adds or fixes and if it's an added feature explain why you think it should be included in the core.

If your PR is to fix an issue mention that issue here

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest) Yes
  • Does your code fit the style guidelines? [yes/no] Yes
  • Does your PR fit the contribution guidelines? [yes/no] Yes

I made this config change to make switching between variants easier, in my opinion. Simply add the pairs with the holstered weapon and the empty, then the empty with holstered.

This way you can edit one file (the config) with your new holsters and not have to change the weapdraw.lua code manually.

Changed Config.WeapDraw to be matched holster pairs.
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.

1 participant