added amb805, time formatting cvar

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401365
This commit is contained in:
Borja Ferrer
2007-08-19 16:54:06 +00:00
parent f6c7196408
commit 6a05c0925c
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ public Action:Command_Say(client, args)
else if (strcmp(text[startidx], "thetime", false) == 0)
{
decl String:ctime[64];
FormatTime(ctime, 64, "%m/%d/%Y - %H:%M:%S");
FormatTime(ctime, 64, NULL_STRING);
if(GetConVarInt(g_Cvar_TriggerShow))
{
+1 -1
View File
@@ -297,7 +297,7 @@ native GetTime(bigStamp[2]={0,0});
*
* @param buffer Destination string buffer.
* @param maxlength Maximum length of output string buffer.
* @param format Formatting rules.
* @param format Formatting rules (passing NULL_STRING will use the rules defined in sm_datetime_format).
* @param stamp Optional time stamp.
* @noreturn
* @error Buffer too small or invalid time format.