Vehicle Keys integrates a very useful Rental Documents system that can be used through metadata items, this could be used in other assets to give a rental vehicle document.
Is this system mandatory or optional?
This system is completely optional.
Add the rental papers item
Configure the rental papers item name in your script's configuration file (e.g., Config.RentalPaperItem).
This system will depend on an item which we must add to our inventory or SQL.
These exports behave similarly to GiveKeys and RemoveKeys exports.
The function adds rental papers to the player's inventory based on the provided plate and model.
-- plate: The vehicle plate associated with the rental papers-- model: The vehicle model associated with the rental papersexports["qs-vehiclekeys"]:AddRentalPapers(plate, model)
RemoveRentalPapers
These exports behave similarly to GiveKeys and RemoveKeys exports.
The function removes rental papers from the player's inventory based on the provided plate and model.
-- plate: The vehicle plate associated with the rental papers-- model: The vehicle model associated with the rental papersexports["qs-vehiclekeys"]:RemoveRentalPapers(plate, model)