GetFullTime: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
 
Line 1: Line 1:
{{Scripting/Deprecated}}
#REDIRECT [[Scripting/Squirrel/Functions/GetFullTime]]
This function will get the time and the date.
 
== Syntax ==
 
<pre>GetFullTime()</pre>
 
== Arguments ==
 
'''N/A'''
 
== Return value ==
 
* ''string'' '''time''' - The time and the date
 
== Example ==
 
<source language="squirrel">
function onPlayerCommand( plr, cmd, text )
{
    if ( cmd == "date" )
    {
          ClientMessage( "The time is now: " + GetFullTime(), plr, 135, 210, 40 );
    }
   
    return 1;
}
</source>
 
=== Notes ===
 
== Related Functions ==
 
{{Scripting/Squirrel/Functions/Deprecated}}

Latest revision as of 09:23, 2 August 2015