IPB


Welcome Guest ( Log In | Register )

 Forum Rules ArmedAssault.info Forum Rules
> Script at a specific time
Lustmolch45
post Jan 18 2013, 13:45
Post #1


New Member
*

Group: Members
Posts: 2
Joined: 16-January 13
Member No.: 9,993



Hey,

I would like to run a script at a specific time (let's say at 6PM). I tried this:

QUOTE
_hour = date select 3;

if (_hour == 18) then {
//stuff
};


Bit it doesn't work. Can anyone help?

This post has been edited by Lustmolch45: Jan 18 2013, 13:46
 
Quote Post
 
Start new topic
Replies
Lustmolch45
post Jan 18 2013, 20:03
Post #2


New Member
*

Group: Members
Posts: 2
Joined: 16-January 13
Member No.: 9,993



Ok I have done it with a while loop and it works now. Thanks for your help. thumbsup.gif
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 19th May 2024 - 19:21