Releases: Tiaansu/samp-cron
Releases · Tiaansu/samp-cron
0.1.0
- Added custom args support.
new CRON:cron_id = INVALID_CRON_ID;
main()
{
cron_id = cron_new("* * * * * *", "SecondTimer", "i", 5);
}
forward SecondTimer(num);
public SecondTimer(num)
{
printf("Hi! I am called by cron id: %i and I also have a custom args: %i!", _:cron_id, num);
}
- Added a message that let the dev knows that the cron pattern they passed is too short.
* * * * *
(5) - ❌* * * * * *
(6) - ✅
EDIT
- Fixed a crash when you used
gmx
while cron jobs is running.
First release
0.0.1 fix a typo on linux archive