Or you can edit the stock and make it work:
PHP Code:
bool:is_vip_hour(iStart, iEnd)
{
new iHour; time(iHour)
return bool:(iStart < iEnd ? (iStart <= iHour < iEnd) : (iStart <= iHour || iHour < iEnd))
}
PHP Code:
if(is_vip_hour(23, 7))
{
// Let the magic happen!
}
__________________