Problem with timestamp.
#4

pawn Код:
COMMAND:test(playerid, params[])
{
    new date[6],
        string[144],
        Timestamp = gettime();

    TimestampToDate(Timestamp, date[0], date[1], date[2], date[3], date[4], date[5], 1);

    format(string, sizeof(string), "Date: %d/%d/%d %d:%d:%d", date[0], date[1], date[2], date[3], date[4], date[5]);
    return SendClientMessage(playerid, -1, string);
}
= Unknown command, why?
Reply


Messages In This Thread
Problem with timestamp. - by Baltimore - 27.12.2014, 21:26
Re: Problem with timestamp. - by [S-G]Cypher - 27.12.2014, 21:33
Re : Problem with timestamp. - by Baltimore - 27.12.2014, 22:12
Re : Problem with timestamp. - by Baltimore - 28.12.2014, 03:21
Re: Problem with timestamp. - by Translator - 28.12.2014, 03:53
Re : Re: Problem with timestamp. - by Baltimore - 28.12.2014, 11:17
Re: Problem with timestamp. - by Jakku - 28.12.2014, 11:24
Re : Problem with timestamp. - by Baltimore - 28.12.2014, 22:41
Re : Problem with timestamp. - by Baltimore - 30.12.2014, 12:24
Re: Problem with timestamp. - by BroZeus - 30.12.2014, 13:19

Forum Jump:


Users browsing this thread: 2 Guest(s)