87a8b8d10411ec668241197dd6fab8b5b631da69
Implement BladW.Announcement.RebuildSchedules() to manage scheduled announcements using two mechanisms: 1. Interval-based scheduling: Parse interval strings (e.g., "30m", "90s", "2h", "1d") and create repeating timers 2. Cron-based scheduling: Parse cron expressions (minute hour day month weekday) and execute on matching times Features: - ParseInterval() converts duration strings to seconds - CompileCron() and CronMatches() handle cron expression parsing and matching - Single consolidated timer monitors all cron entries with 20s tick to avoid duplicates - Proper cleanup and hot-reload support via _timers tracking - Validation with helpful warning messages for invalid configurations
Description
ensemble de script et system pour le server bladwin-RP.
- gamemode : DarkRP
3.2 MiB
0 Stars
1 Watchers
0 Forks
Languages
Lua
100%