[Plugin] GMT Timezone
#1

Описание:
Плагин позволяющий менять часовой пояс сервера SA:MP. И пару полезных фукций.
Небольшой пример использования example
Использование:
pawn Код:
// Заменит стандартные Pawn функции времени
#define AUTO_SETUP
#include <gmtime>
Natives:
pawn Код:
native gm_SetTimeZone(hour = 0, minute = 0);
native gm_gettime(&hour = 0, &minute = 0, &second = 0);
native gm_getdate(&year=0, &month = 0, &day = 0, &wday = 0);

native gm_strftime(const string[], dest[], size = sizeof(dest));
native gm_timestamp();
native gm_mktime(hour, minute, second, year, month, day);
native gm_timestamp_to_date(timestamp, &hour = 0, &minute = 0, &second = 0, &year = 0, &month = 0, &day = 0);

native gm_GetMonthDay(month, year = 1990);
native gm_ConvertSeconds(time, &hour = 0, &minute = 0, &second = 0, &year = 0, &month = 0, &day = 0);
Скачать:
Reply


Messages In This Thread
GMT Timezone - by Fro1sha - 23.06.2011, 07:13
Re: GMT Timezone - by OKStyle - 23.06.2011, 07:19
Re: GMT Timezone - by Fro1sha - 23.06.2011, 07:23
Re: GMT Timezone - by AirKite - 23.06.2011, 07:26
Re: GMT Timezone - by Fro1sha - 23.06.2011, 07:27
Re: GMT Timezone - by mr.snk - 23.06.2011, 15:30
Re: GMT Timezone - by AirKite - 24.06.2011, 01:26
Re: GMT Timezone - by Fro1sha - 24.06.2011, 07:29
Re: GMT Timezone - by mr.snk - 24.06.2011, 18:28
Re: GMT Timezone - by OKStyle - 26.06.2011, 05:19

Forum Jump:


Users browsing this thread: 2 Guest(s)