Posts: 185
Threads: 53
Joined: Feb 2011
Reputation:
0
How to make a /robbank timer for all players?
How to make it so noone can rob for 10 minutes after a bank got robbed? I made it so one player can rob each 10 minutes, but I need it to work for all players on server.
Posts: 185
Threads: 53
Joined: Feb 2011
Reputation:
0
I don't know how. If I knew I'd of done it already mate.
Posts: 977
Threads: 10
Joined: Apr 2011
Reputation:
0
I'm a bit confused here as to what you are trying to achieve after reading your post and now your responses. Do you want it so the bank can only be robbed every 10 minutes, or that only one player can rob it every 10 minutes?
If you were referring to the player being able to, then use the example I gave above. Otherwise, I can see why you were becoming confused. If that latter, you don't need to use SetTimerEx, simply SetTimer. You also wouldn't need the array to store whether or not the player robbed the bank, as it could be stored in a single variable representing the bank as a whole.
Posts: 185
Threads: 53
Joined: Feb 2011
Reputation:
0
I know how to make one for a player, and it works perfectly but I want to make it so the bank itself can only be robbed each 10 minutes.
Any chance you can give me a example?
Posts: 185
Threads: 53
Joined: Feb 2011
Reputation:
0
Do I need to forward the timer as I do with settimerex?