Raised This Month: $ Target: $400
 0% 

Just for help someone


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-25-2004 , 18:21   Just for help someone
Reply With Quote #1

Code:
new bool:okidoki=false if(Hbegin > Hend)         {             if (((hours >= Hbegin) && (hours > Hend)) || ((hours < Hbegin) && (hours < Hend)))                 okidoki = true         }         if (Hend > Hbegin)         {             if ((hours >= Hbegin) && (hours < Hend))                 okidoki = true         }           if (Hbegin== Hend)             okidoki = true         if(okidoki) //Your command....


If u want start something betwen 2 Hours (24format) u can use that

Hbegin , Hend are the hours of start and end
hours is actual time
so u can have a command to do betwen 7h and 14h or betwen 14h and 7h all work
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Reply



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 14:38.


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