Hello im making a script but i want it to be execute just one time a day i try tu use Cron with ther trigger cron:runAt but the callback of the function doesnt work.
TriggerEvent(‘cron:runAt’, 13, 54, startCoffre)
I try to get the time with game natives like : GetLocalTime() , GetUtcTime() and with my acutal hours but nothing work.
Thanks for your help