Time.inc?
#1

Hello!
I'm asking you people for a Time.inc.
I have real time on my server and I don't wanna to have realtime, I wanna have the time what goes so fast like the seconds.
If you know a download to this, please post!
Reply
#2

please I need it too
Reply
#3

Just change the speed of the timer.

A clock I made a while back.
pawn Code:
forward EverySecond();
new clockMinute,clockHour,Text:clockTextdraw;

public EverySecond()
{
    new time[24];
    clockMinute ++;
    if(clockMinute >= 60)
    {
        if(clockHour >= 24)
        {
            clockHour = 0;
        }
        else
        {
            clockHour ++;
        }
        clockMinute = 0;
    }
    format(time,sizeof(time),"%02d:%02d",clockHour,clockMinute);
    TextDrawSetString(clockTextdraw,time);
    return 1;
}

public OnGameModeInit()
{
    clockTextdraw = TextDrawCreate(559.5,43,"00:00");
    TextDrawFont(clockTextdraw,2);
    TextDrawLetterSize(clockTextdraw,0.4,2.8000000000000003);
    TextDrawColor(clockTextdraw,-1);

    SetTimer("EverySecond",1000,1);
    clockMinute = 00;
    clockHour = 00;
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,clockTextdraw);
    return 1;
}
public OnPlayerDisconnect(playerid,reason)
{
    TextDrawHideForPlayer(playerid,clockTextdraw);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)