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
__________________