View Single Post
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 08-21-2011 , 16:31   Re: How can i get real time (for ex. - from ntp server)
Reply With Quote #3

Just keep sure that your system time is getting syncronized by a timeservice.
Both, windows and linux can do this easily. Then just use the Format or the GetTime() function like pheadxdll said.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline