17.09.2009, 11:53
I have just started to decide to make a time system for my script, but because i got no clue where i would start (well i got ideas, but nothing i think is the easiest way to do it) i looked into a GF edit script at the time. i noticed a function called 'getdate' and 'gettime' and they are in the 'time.inc' include file, and its quite short so ill just post the include here:
Now i know how i can use it, because i am not a compelte idiot, but does this get the time of the PLAYERS pc/country or does it get the time of the SERVERS time/country time....or does it do somthing else completely
thanks for any help people give
Код:
/* Date/time functions * * © Copyright 2001-2005, ITB CompuPhase * This file is provided as is (no warranties). */ #if defined _time_included #endinput #endif #define _time_included #pragma library Time native gettime(&hour=0, &minute=0, &second=0); native getdate(&year=0, &month=0, &day=0); native tickcount(&granularity=0);
thanks for any help people give