ENT:Use(), allowing only one use every X seconds.

I’m coding a SENT, and need the player to be able to activate the Use() function every X seconds. How would I go about doing this. The current problem is, if the player holds their use key down, the SENT keeps completing the function, which I don’t want.

Create a timer, if it exists then return false?

**[Entity.SetUseType

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Entity.SetUseType)**

SIMPLE_USE makes the entity not continuously usable.

Thanks NullPoint, that’s EXACTLY what I wanted.