Raised This Month: $ Target: $400
 0% 

Is there a way I could get the servers uptime?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 06-02-2004 , 23:20   Is there a way I could get the servers uptime?
Reply With Quote #1

I am trying to make a plugin that will log the servers uptime, but have hit a wall, i have the command to find when the server is shutdown[plugin_end()], now i need a command to tell when the server starts up!

I am then going to use this and find the uptime by taking when the server started, lets call that S, and when the server ended, lets call that E and by taking away S from E i will get the uptime or T.

S-E=T

Please do not lock this post, i will have more qustions when this is answered.
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode