Get The Server Time
#1

How to get the server time? Using GetServerTime() or GetWorldTime() will make an error (Because it doesn't exist ). You know how?
Reply
#2

pawn Код:
/* 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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)