Fixes the qb-vehicleshop:server:deleteVehicle net event by preventing deletion of any networked entity.
Fixes potential abuse of the financetimer logic by removing the citizenid parameter and stopping relying on the client.
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, but please make sure you do as well, just to be extra sure this works as intended!
Does your code fit the style guidelines?
--> Yes, I think so.
Does your PR fit the contribution guidelines?
--> Yes, I think so as well.
Describe Pull request
qb-vehicleshop:server:deleteVehicle
net event by preventing deletion of any networked entity.financetimer
logic by removing thecitizenid
parameter and stopping relying on the client.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, but please make sure you do as well, just to be extra sure this works as intended!
Does your code fit the style guidelines? --> Yes, I think so.
Does your PR fit the contribution guidelines? --> Yes, I think so as well.