04.12.2012, 18:57
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.
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.