RemoveRentalPapers
The RemoveRentalPapers
export enables removing rental papers from the player's inventory for a specified vehicle. This is ideal for scenarios where a rental period ends or the vehicle is returned.
How to Use
To remove rental papers from the player's inventory, use the following code:
This export requires two parameters:
plate
: The license plate of the vehicle.model
: The model of the vehicle.
Example Usage
This example demonstrates how to remove rental papers when the rental period ends:
This export integrates seamlessly into vehicle return workflows, ensuring rental papers are properly managed and removed when a rental concludes.
Last updated