qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
50 stars 348 forks source link

FIX Issue #313, #327, #321 and #324 #326

Closed Bakisito closed 11 months ago

Bakisito commented 1 year ago

Describe Pull request Added the option to activate the reticle with native ShowHudComponentThisFrame only when using a sniper rifle. https://docs.fivem.net/natives/?_0x0B4DF1FA60C0E664 image

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

313

Questions (please complete the following information):

Add new commits 4be88ba5a4b7dc7e5a04b99ec1b00842ca7bd75b To fix #327 and #321

Describe Pull request Fix title "qb-smallpenis:server:AddParachute" To "consumables:server:AddParachute"

Add a thread to get the current state of the player's parachute at any time. You can use an if condition to check if the parachute state is 3: Falling to doom. and if so, call TriggerEvent('qb-clothing:client:loadOutfit', ParachuteRemoveData) to remove the prop from the player's parachute.

Questions (please complete the following information):

Have you personally loaded this code into an updated qbcore project and checked all it's functionality? yes Does your code fit the style guidelines? yes Does your PR fit the contribution guidelines? yes

Move PR https://github.com/qbcore-framework/qb-smallresources/pull/324 here

Bakisito commented 1 year ago

Added new commits

Bakisito commented 1 year ago

Moving PR #324 here

McKlean commented 1 year ago

I believe getisInHospitalBed() should be isInHospitalBed() however, this does call an error saying no such export

Bakisito commented 1 year ago

I believe getisInHospitalBed() should be isInHospitalBed() however, this does call an error saying no such export

is because this is a variable that is already declared, but the export is not created, so I made an export of that variable in this PR https://github.com/qbcore-framework/qb-ambulancejob/pull/265

github-actions[bot] commented 11 months ago

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