Clearing decals overtime.

Dose any one have a command or script I can use to clear decals say every 30seconds?

Sure, the console command r_cleardecals, run it every 30 seconds on all clients.

But how do i make it automatic? So me or my admins dont have to do that every 30 seconds lol xD

timer.Create("ClearDecals", 30, 0, function()
	for k,v in pairs(player.GetAll()) do

You should really push for having examples on that wiki, examples are the ways I learned how to use basic functions and stuff and I fell like they would help out others as well

^^ Agreed thanks guys!

Last time I opened that page it had an example.

Yeah, I just noticed that a lot of them do have examples. I don’t know how I thought there were none.