qbcore-framework / qb-smallresources

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

[BUG] weapon draw #247

Closed jaylac2000 closed 2 years ago

jaylac2000 commented 2 years ago

Describe the bug A clear and concise description of what the bug is. A stranger to qbcore should be able to read your bug report and understand how to reproduce it themselves and understand how the feature should work normally.

when you are a cop and you pull your gun from a holster than you /logout and switch to another character who isn't a cop such as a criminal character, that character still poses as if he's still a cop when pulling out a weapon

To Reproduce Steps to reproduce the behavior:

  1. read above^^

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Questions (please complete the following information):

Additional context Add any other context about the problem here.

singh-manavv commented 2 years ago

the script only checks if the player is wearing a holster or not , to play the holster animation , so if the player is wearing a holster component, then the script will perform the holster animation or else normal animation. There's no checks for policejob in the script.