09.05.2010, 22:03
How can I Make it so that lets say the 24/7 store is closed from a certain game time to a certain game time?
So lets say 6 - 12?
So lets say 6 - 12?
Originally Posted by SAWC™
And then...?
|
Originally Posted by MWF2
Quote:
|
Originally Posted by luigifan9
Quote:
|
Originally Posted by Seif_
Use a timer or, if you're using game time, use gettime. Though I would just recommend a timer to save the hassle.
So basically create a fresh global variable that's set to 1 by default, which means the bank is open. Then when it's closed, set it to 0 and set a timer that will set it back to 1 in 3 hours or whatever you want. |
Originally Posted by Baked-Banana
Well that clock doesn't work by default. You would have to have a script somewhere powering it that would have the time of it.
|
Originally Posted by Baked-Banana
Oh. TogglePlayerClock makes the clock show up and work but the time is not synced up for players. https://sampwiki.blast.hk/wiki/TogglePlayerClock I thought it didn't work by default because I had always used a script to set the time.
|