Hiya is there and good line of code that would limit a player to a command so that he or she can use it a limited amount of times pay day. and it resets auto after 24 hours of first use.
Add a daily limit to a command?
It'd be more than one line of code. https://umod.org/plugins/command-rate-limiter might be of interest to you though.