Posts: 111
Threads: 23
Joined: Jul 2009
Reputation:
0
I have a welfare command made. /welfare... The people on welfare go to city hall and do /welfare [Password] to get there welfare check.
My question is there a way to put a time limit on that command to where they can't keep doing it.
Posts: 273
Threads: 4
Joined: Nov 2007
Reputation:
0
You can use a timer to get this done, just set a timer and when it goes off, allow them to use the command again... For example, let's example a simple varible called welfare. When the command is executed, check to see if the welfare varible is 0, if it is, give them the paycheck and change the welfare varible to 1, then also call a timer for the desired amount of time which that timer will set the welfare varible back to 0