I’ve built a resource that allows players to rent cars from specified locations. Each rental is customizable to however much you want to charge it. You can config each location for dropoff and pickups as well as how often a player is charged for the rental. Once a player rents a vehicle they will be charged periodically until they return the car. Damaging the car will result in $500 being deducted unless they purchase a $200 insurance.
Not really much in the way for pictures. A simple menu that uses WarMenu for its base. If you guys really want pictures I can upload some.
You say it’s an esx resource, but you’re using esx just for the squeeze and essentialmod for player info.
-- Display notification on the top map
function Notification(message)
Citizen.CreateThread(function()
SetNotificationTextEntry('STRING')
AddTextComponentString(message)
DrawNotification(false, false)
end)
end
autoChargeAmount: auto charges everyone on the server every X minute even if they haven’t rented a car. damageCharge: if you return a rented car and then take out a private car from a garage you’ll get charged for damaging that car too.