qb-garages
                                
                                 qb-garages copied to clipboard
                                
                                    qb-garages copied to clipboard
                            
                            
                            
                        [BUG] Customised Plate Vehicles Not Giving Keys
I've been meaning to add customised plates to a development instance I have active so after some trial and error, it occurred to me to at least make sure that 8 character plates can be appropriately retrieved. This is the case. It appears that any value below 8, it spawns a vehicle with that plate, but it does not appropriately give the keys.
Steps to reproduce the behavior:
- Have a vehicle stored
- Modify the 2 plate fields in the database (plate, mods > plate)
- Save
- Pull out the customised plate vehicle
By default, the player teleports into the the vehicle (testing purposes, I've kept this as is), and with a custom plate, this should behave the same.
It does spawn the vehicle with the plate, however, no keys are given and it spawns as though it's an NPC vehicle (locked)
- When you last updated: Fresh install within the last 4 hours
- Are you using custom resource? which ones? nothing that would interfere
- Have you renamed qb-to something custom? no
I've used the database to change the values after writing a small script to do it also, neither works unless the plate is 8 characters.
I've got a work around by commenting out "Citizen.Await(CheckPlate(veh, vehPlate))" in the takeOutGarage function. Not sure of the reason for this line as I've just been casually looking it over but storing and pulling customised plates work.
This issue has had 60 days of inactivity & will close within 7 days