Prevent Modders

Hi FiveM Forum, Would there be a way of making a script where you only can spawn a car every 10 second, that would benefit so much if there was a modder on the server. And if it would be possible to make a script that does that, how? Would really appreciate if anyone could make a script like that.