The tike is set to utc0 in config
its saying do not change it in the config. what do we put it on to have it work with UK players? I think you should maybe remove the UTC feature and just use how much time is left
Can you set it to yout utc time what ever can you set that to UTC+06:00 thats the utc time for uk and try jt again
set it to +6 then?
+06:00
Should be like this in config
I see cheers man, will do that
in a string?
Config.UTCTime = “+06:00” – DONOT EDIT
No string just +06:00
If it dosent work then try a string
well itll give it out as an error, that wotn work xd
give me 20 mins till i get home I will try it my self
yeah sure thing mate, can also add you on dc if u want
ked.ss dc user
Update 1.3
- Timezone issue fixed if you still have problems message me on discord ked.ss is user
- Added Config.Userservertime with this instead of using players times and having issues with timezones etc it uses the fivem servers time and shows the same for all
Great work, friendly interface
where is the html/style/purchase.css ?
You dont need it I am working on a newer version with all these bug fixes for now you can just remove it from the fxmanifest.lua
Big Update 1.3v
- Fixed timestamp being different in UI
- Optimized the script removed unused functions
- Added 2 new buttons to the UI
- Button 1 Buy New Ticket is shown when the ticket is expired or there is no valid ticket to all players
- Button 2 Only shown to jobs listed in config and that button can issue a fine to the vehicle owner if the ticket is expired or not valid
- Currently the billing scripts supported are codem-billing, codem-billingv2, okokbilling, tgg-billing, jaksamBilling, qbcore default and esx default.
- For fine you may allow officers to edit fine amount with (max and min fine limit) or have a default fine value set in config and you may add as many jobs and society names as you want.
- IMPORTANT FOR THIS NEW ISSUE FINE TO WORK YOU MUST BE ON ESX OR QBCORE DOSENOT WORK WITH STANDALONE!
Just added you, also
[DEBUG] API time fetch failed, using server time
DEBUG] Found ticket for matching street
[DEBUG] Raw expiration timestamp: 1742716274
[DEBUG] Formatted expiration time: 2025-03-23 07:51:14
[DEBUG] Sending ticket data to client: {“streetName”:“San Andreas Ave”,“hasTicket”:true,“parkDuration”:15,“isExpired”:false,“licensePlate”:“88FTG553”,“currentDate”:“2025-03-23 00:36:51”,“expirationTime”:“2025-03-23 07:51:14”}
But the UI wont open