Raised This Month: $ Target: $400
 0% 

Random task time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-20-2011 , 10:25   Random task time
Reply With Quote #1

Hi

How i do random task time something like this

PHP Code:
new const RANDOM_TASKTIME[][] =
{  
         
25,
         
15,
         
40,
         
150,
          
12,
            
2,
          
150              
}
 
// And set task something
set_task(RANDOM_TASKTIME"thunderclap"TASK_THUNDER_PRE
But i want like this way

new const RANDOM_TASKTIME[][] =
{
25, // first task time
15, // then this
40, // then this
150, // then this
12, // then this
2, // then this
150 // And start again 24
}

thanking in advance.
.Dare Devil. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode