Describe Pull request
This code is optimization only. Instead of looping at 0ms and checking for IsPedShooting, this handles the game event CEventGunShot that is triggered when a ped shoots.
Questions (please complete the following information):
Have you personally loaded this code into an updated qbcore project and checked all it's functionality? Yes
Describe Pull request This code is optimization only. Instead of looping at 0ms and checking for
IsPedShooting
, this handles the game eventCEventGunShot
that is triggered when a ped shoots.Questions (please complete the following information):