Author Topic: Cooldown for ulx playsound?  (Read 1564 times)

0 Members and 1 Guest are viewing this topic.

Offline ActeonAk

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Cooldown for ulx playsound?
« on: March 30, 2014, 03:28:11 PM »
On my server I allow certain people access to playsound just for fun, including various voice clips I uploaded. I'm thinking of opening it to more people.

So to help reduce sound spam I was wondering if it's possible to code a cooldown period on it so players can only playsounds say, every few seconds.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Cooldown for ulx playsound?
« Reply #1 on: March 30, 2014, 04:07:37 PM »

Offline ActeonAk

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Cooldown for ulx playsound?
« Reply #2 on: March 30, 2014, 07:53:42 PM »
My apologies for not finding that thread. It works but is there anyway to only restrict one command and not every command in general?