gettime not working
#4

PHP код:
SetTimerEx("CheckHappyHour"60000true"i"playerid); //OnPlayerLogin, 60 seconds is enough.
forward CheckHappyHour(playerid);
public 
CheckHappyHour(playerid

    new 
hours,minutes,seconds
    
gettime(hours,minutes,seconds); 
    if(
hours >= 18 && hours <= 20
    { 
        
happyhour[playerid] = 1
    } 
    else 
happyhour[playerid] = 0
    return 
1

Reply


Messages In This Thread
gettime not working - by DetoNater - 22.12.2015, 18:23
Re: gettime not working - by Mencent - 22.12.2015, 18:41
Re: gettime not working - by PrO.GameR - 22.12.2015, 18:42
Re: gettime not working - by TwinkiDaBoss - 22.12.2015, 19:00
Re: gettime not working - by DetoNater - 23.12.2015, 04:24

Forum Jump:


Users browsing this thread: 1 Guest(s)