Parking Meter script for QBCore Framework.
Download: Github
Tebex: QB Parking Meter (FREE)
Features
You can pay parking fee to parkingmeter with qb-target .
Police can check is parking fee paid or not.
You can configure cooldown for payment to expire in sv_parkingmeter.lua .
Installation
Drag & drop qb-parkingmete r folder into your resources folder.
Add start qb-parkingmeter into your server.cfg and restart server.
Dependencies
Other Scripts
7 Likes
Free releases must contain a direct download.
2 Likes
Got to use Github if its free man…
1 Like
this is awsome, if some one wants to convert to ESX That be amazing
3 Likes
Would be nice if it could send an email when you have paid for your parking ticket and when you have an expired parking ticket. Overall really nice script well done keep up the amazing work :).
1 Like
@SkellyKat_Gaming You can replace those notfications like this if you want to receive an email instead of a notification in sv_parkingmeter.lua:
TriggerEvent('qb-phone:server:sendNewMailToOffline', Player.PlayerData.citizenid, {
sender = "Parking Meter",
subject = "Receipt",
message = "You paid your parking fee. <br><br> Your parking payment will expire in "..cooldown.." minutes ",
button = {
enabled = false
}
})
1 Like
Perfect thank you I will implement that tomorrow.
Jammal
August 15, 2022, 9:31pm
10
Looks amazing man! I wish this was for ESX as well . Good work though!
Does this work with QBus?
_EmYYY
August 25, 2022, 12:39am
12
This is so good. Looking forward to see email implementation!!
teuvokalevi:
TriggerEvent('qb-phone:server:sendNewMailToOffline', Player.PlayerData.citizenid, {
sender = "Parking Meter",
subject = "Receipt",
message = "You paid your parking fee. <br><br> Your parking payment will expire in "..cooldown.." minutes ",
button = {
enabled = false
}
})
what part do in need to place/replace this?
i tryed only this line:
TriggerClientEvent(“QBCore:Notify”, src, “You paid parking fee!”, “success”, 5000)
or the this pack:
TriggerClientEvent(“QBCore:Notify”, src, “You paid parking fee!”, “success”, 5000)
Wait(cooldown * 60000)
paid[id] = nil
TriggerClientEvent(“QBCore:Notify”, src, “Parking payment expired!”, “error”, 5000)
else
TriggerClientEvent(“QBCore:Notify”, src, “You don’t have enough cash!”, “error”, 5000)
end
but its not working
GrapsZ
May 11, 2023, 5:57pm
14
Hello all.
I just made the adaptation for ESX.
PREVIEW
It is subject to validation by a forum moderator. When the topic will be validated, I will share the link here. In the meantime, here is the github link for the script
A small thank you will be perfect.
I hope you’ll enjoy it and find it useful =)
My tebex : https://gzs-store.tebex.io/